41 class BlockAllocator_Impl;
90 std::shared_ptr<BlockAllocator_Impl> impl;
113 void operator delete(
void *data,
size_t size);
Class with operator new/delete overloads for BlockAllocator.
Definition: block_allocator.h:106
Memory allocator that allocates in blocks.
Definition: block_allocator.h:54
BlockAllocator()
Block Allocator constructor.
void free()
Free the allocated memory.
void * allocate(int size)
Allocate memory (See note on this class for the allocation method)