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

Name

Description

growthStrategy

strategy controlling growth of internal buffers

basicAllocator

memory allocator; null uses the default

Created with MrDocs