Create a sequential allocator using an internal buffer and the specified alignment strategy.
Synopsis
Declared in <bslma_sequentialallocator.h>
explicit
SequentialAllocator(
BufferAllocator::AlignmentStrategy strategy,
Allocator* basicAllocator = 0);
Parameters
Name |
Description |
strategy |
The alignment strategy used for allocations. |
basicAllocator |
The allocator used to supply memory. |
Created with MrDocs