Create a sequential allocator using an internal buffer with a maximum buffer size and the specified alignment strategy.
Declared in <bslma_sequentialallocator.h>
SequentialAllocator(
int initialSize,
int maxBufferSize,
BufferAllocator::AlignmentStrategy strategy,
Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| initialSize | The initial internal buffer size (in bytes). |
| maxBufferSize | The maximum internal buffer size (in bytes). |
| strategy | The alignment strategy used for allocations. |
| basicAllocator | The allocator used to supply memory. |