Create a sequential allocator using the specified external buffer and alignment strategy.
Synopsis
Declared in <bslma_sequentialallocator.h>
SequentialAllocator(
char* buffer,
int bufferSize,
BufferAllocator::AlignmentStrategy strategy,
Allocator* basicAllocator = 0);
Parameters
Name |
Description |
buffer |
The external buffer used for initial allocations. |
bufferSize |
The size (in bytes) of |
strategy |
The alignment strategy used for allocations. |
basicAllocator |
The allocator used to supply memory. |
Created with MrDocs