Create a sequential pool with growth limited to maxBufferSize and the specified growth and alignment strategies.
Declared in <bdlma_sequentialpool.h>
SequentialPool(
bsls::Types::size_type initialSize,
bsls::Types::size_type maxBufferSize,
bsls::BlockGrowth::Strategy growthStrategy,
bsls::Alignment::Strategy alignmentStrategy,
bslma::Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| initialSize | initial size in bytes of the internal buffer |
| maxBufferSize | maximum dynamically allocated buffer size in bytes |
| growthStrategy | strategy controlling growth of internal buffers |
| alignmentStrategy | strategy used to align allocated memory blocks |
| basicAllocator | memory allocator; null uses the default |