Create a sequential pool using the specified external buffer, maximum buffer size, and alignment strategy.
Declared in <bslma_sequentialpool.h>
SequentialPool(
char* buffer,
int bufferSize,
int maxBufferSize,
BufferAllocator::AlignmentStrategy strategy,
Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| buffer | The external buffer used for initial allocations. |
| bufferSize | The size (in bytes) of buffer. |
| maxBufferSize | The maximum internal buffer size (in bytes). |
| strategy | The alignment strategy used for allocations. |
| basicAllocator | The allocator used to supply memory. |