BloombergLP::bdlma::SequentialAllocator::SequentialAllocator

Create a sequential allocator using the specified alignment strategy.

Synopsis

Declared in <bdlma_sequentialallocator.h>

explicit
SequentialAllocator(
    bsls::Alignment::Strategy alignmentStrategy,
    bslma::Allocator* basicAllocator = 0);

Parameters

NameDescription
alignmentStrategystrategy used to align allocated memory blocks
basicAllocatormemory allocator; null uses the default