Frees all memory allocated by this allocator
Copy construction disabled because this struct clears its memory with a destructor.
Standard allocator operation.
Allocator's memory alignment
The maximum number of bytes that can be allocated at a time with this allocator. This is smaller than blockSize because of some internal bookkeeping information.
Simple allocator that allocates memory in chucks of blockSize, and then frees all of its blocks when it goes out of scope. The block allocator is reference counted, so it may be copied safely. It does not support freeing any memory allocated by it. Deallocation only occurs by destroying the entire allocator. Note that it is not possible to allocate blockSize bytes with this allocator due to some memory being used for internal record keeping.