BloombergLP::bdlma::BufferedSequentialPool::BufferedSequentialPool

Create a buffered sequential pool using the specified growth strategy for allocations from buffer.

Synopsis

Declared in <bdlma_bufferedsequentialpool.h>

BufferedSequentialPool(
    char* buffer,
    bsls::Types::size_type size,
    bsls::BlockGrowth::Strategy growthStrategy,
    bslma::Allocator* basicAllocator = 0);

Parameters

NameDescription
bufferexternal buffer from which to allocate
sizesize in bytes of buffer
growthStrategystrategy controlling growth of internal buffers
basicAllocatormemory allocator; null uses the default