BloombergLP::bslma::SequentialAllocator::SequentialAllocator

Create a sequential allocator using an internal buffer and the specified alignment strategy.

Synopsis

Declared in <bslma_sequentialallocator.h>

explicit
SequentialAllocator(
    BufferAllocator::AlignmentStrategy strategy,
    Allocator* basicAllocator = 0);

Parameters

NameDescription
strategyThe alignment strategy used for allocations.
basicAllocatorThe allocator used to supply memory.