Create a sequential allocator using an internal buffer of the specified initialSize.

Synopsis

Declared in <bslma_sequentialallocator.h>

explicit
SequentialAllocator(
    int initialSize,
    Allocator* basicAllocator = 0);

Parameters

Name

Description

initialSize

The initial internal buffer size (in bytes).

basicAllocator

The allocator used to supply memory.

Created with MrDocs