BlockArray< T, BLOCK_SIZE_EXPONENT, MEMFLAGS, ALLOCATOR >::ForwardAllocator Struct Reference
公共成员函数 |
|
| 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 & | ) |
| 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 | |||
| ) |
| void Free | ( | X *& | p | ) |
| ALLOCATOR* _a | private |