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

Name

Description

alignmentStrategy

strategy used to align allocated memory blocks

basicAllocator

memory allocator; null uses the default

Created with MrDocs