BloombergLP::bdlma::SequentialPool::SequentialPool

Create a sequential pool with growth limited to maxBufferSize and the specified growth strategy.

Synopsis

Declared in <bdlma_sequentialpool.h>

SequentialPool(
    bsls::Types::size_type initialSize,
    bsls::Types::size_type maxBufferSize,
    bsls::BlockGrowth::Strategy growthStrategy,
    bslma::Allocator* basicAllocator = 0);

Parameters

NameDescription
initialSizeinitial size in bytes of the internal buffer
maxBufferSizemaximum dynamically allocated buffer size in bytes
growthStrategystrategy controlling growth of internal buffers
basicAllocatormemory allocator; null uses the default