#include <arrayallocator.h>
BlockArray allocator which only allocates and frees entries of SIZE bytes.
SIZE | The size of an entry in bytes. |
EXPONENT | Exponent for the BlockArray. |
Public Types | |
using | ValueType = ArrayAllocatorValueType< SIZE > |
Additional Inherited Members | |
Public Member Functions inherited from ArrayAllocator< SIZE, BlockArray< ArrayAllocatorValueType< SIZE >, BLOCKARRAY_DEFAULT_SIZE_EXPONENT, BLOCKARRAYFLAGS::NOINSERTERASE > > | |
ArrayAllocator () | |
ArrayAllocator (ArrayAllocator &&src) | |
Int | ComputeArraySize (Int currentSize, Int increment, Int minChunkSize) |
void * | Alloc (Int64 s, MAXON_SOURCE_LOCATION_DECLARATION) |
void * | Realloc (void *, Int64, MAXON_SOURCE_LOCATION_DECLARATION) |
void | Free (T *&p) |
Bool | IsCompatibleWithDefaultAllocator (void *p) const |
BlockArray< ArrayAllocatorValueType< SIZE >, BLOCKARRAY_DEFAULT_SIZE_EXPONENT, BLOCKARRAYFLAGS::NOINSERTERASE > & | GetArray () |
const BlockArray< ArrayAllocatorValueType< SIZE >, BLOCKARRAY_DEFAULT_SIZE_EXPONENT, BLOCKARRAYFLAGS::NOINSERTERASE > & | GetArray () const |
using ValueType = ArrayAllocatorValueType<SIZE> |