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