Create a sequential pool using the specified external buffer and alignment strategy.
Synopsis
Declared in <bslma_sequentialpool.h>
SequentialPool(
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