Public Member Functions | |
ForwardAllocator (ALLOCATOR *a) | |
ForwardAllocator (const ForwardAllocator &src) | |
void | operator= (const ForwardAllocator &) |
Int | ComputeArraySize (Int currentSize, Int increment, Int minChunkSize) |
void * | Alloc (Int s, MAXON_SOURCE_LOCATION_DECLARATION) |
void * | Realloc (void *p, Int n, MAXON_SOURCE_LOCATION_DECLARATION) |
template<typename X > | |
void | Free (X *&p) |
Private Attributes | |
ALLOCATOR * | _a |
|
explicit |
ForwardAllocator | ( | const ForwardAllocator & | src | ) |
void operator= | ( | const ForwardAllocator & | ) |
void* Alloc | ( | Int | s, |
MAXON_SOURCE_LOCATION_DECLARATION | |||
) |
void* Realloc | ( | void * | p, |
Int | n, | ||
MAXON_SOURCE_LOCATION_DECLARATION | |||
) |
void Free | ( | X *& | p | ) |
|
private |