BloombergLP::bdlma::SequentialAllocator::SequentialAllocator

Create a sequential allocator using the specified growth strategy.

Synopsis

Declared in <bdlma_sequentialallocator.h>

explicit
SequentialAllocator(
    bsls::BlockGrowth::Strategy growthStrategy,
    bslma::Allocator* basicAllocator = 0);

Parameters

NameDescription
growthStrategystrategy controlling growth of internal buffers
basicAllocatormemory allocator; null uses the default