template<size_t requestedBlockSize = 8192, typename FixedAllocator = AllocatorFixed<AllocatorMalloc>>
class lass::util::AllocatorSimpleBlock< requestedBlockSize, FixedAllocator >
A simple fixed-size block allocator.
- concept: FixedAllocator
- thread UNSAFE.
- not copy-constructible, not assignable
- The blocks are only deallocated at destruction time to simplify the allocation/deallocation logic. However, nodes that are deallocate can still be reused.
- It is NOT SAFE to deallocate memory using another instance of AllocatorSimpleBlock than the one used to allocate it.
Definition at line 978 of file allocator.h.