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