Create a sequential allocator using the specified growth and alignment strategies.

Synopsis

Declared in <bdlma_sequentialallocator.h>

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

Parameters

Name

Description

growthStrategy

strategy controlling growth of internal buffers

alignmentStrategy

strategy used to align allocated memory blocks

basicAllocator

memory allocator; null uses the default

Created with MrDocs