BloombergLP::bslma::SequentialPool::SequentialPool

Create a sequential pool using an internal buffer of the specified initialSize and alignment strategy.

Synopsis

Declared in <bslma_sequentialpool.h>

SequentialPool(
    int initialSize,
    BufferAllocator::AlignmentStrategy strategy,
    Allocator* basicAllocator = 0);

Parameters

NameDescription
initialSizeThe initial internal buffer size (in bytes).
strategyThe alignment strategy used for allocations.
basicAllocatorThe allocator used to supply memory.