|
enum | {
kNodeSize = nodeSize
, kNodeCount = nodeCount
, kNodesSize = nodeCount * nodeSize
, kBufferSize = kNodesSize + ((nodeAlignment > 1) ? nodeSize-1 : 0) + nodeAlignmentOffset
,
kNodeAlignment = nodeAlignment
, kNodeAlignmentOffset = nodeAlignmentOffset
} |
|
typedef fixed_vector_allocator< nodeSize, nodeCount, nodeAlignment, nodeAlignmentOffset, false, OverflowAllocator > | this_type |
|
typedef OverflowAllocator | overflow_allocator_type |
|
|
| fixed_vector_allocator (void *) |
|
| fixed_vector_allocator (void *, const overflow_allocator_type &) |
|
void * | allocate (size_t, int=0) |
|
void * | allocate (size_t, size_t, size_t, int=0) |
|
void | deallocate (void *, size_t) |
|
const char * | get_name () const |
|
void | set_name (const char *) |
|
const overflow_allocator_type & | get_overflow_allocator () const EA_NOEXCEPT |
|
overflow_allocator_type & | get_overflow_allocator () EA_NOEXCEPT |
|
void | set_overflow_allocator (const overflow_allocator_type &) |
|
void | copy_overflow_allocator (const this_type &) |
|
◆ allocate()
template<size_t nodeSize, size_t nodeCount, size_t nodeAlignment, size_t nodeAlignmentOffset, typename OverflowAllocator >
void* eastl::fixed_vector_allocator< nodeSize, nodeCount, nodeAlignment, nodeAlignmentOffset, false, OverflowAllocator >::allocate |
( |
size_t |
, |
|
|
int |
= 0 |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: