Create a sequential allocator whose initial buffer has the specified initialSize.

Synopsis

Declared in <bdlma_sequentialallocator.h>

explicit
SequentialAllocator(
    bsls::Types::size_type initialSize,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

initialSize

initial size, in bytes, of the internal buffer

basicAllocator

memory allocator; null uses the default

Created with MrDocs