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