[#BloombergLP-bslma-SequentialAllocator-2constructor-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SequentialAllocator.adoc[SequentialAllocator]::SequentialAllocator :relfileprefix: ../../../ :mrdocs: Create a sequential allocator using an internal buffer and the specified alignment `strategy`. == Synopsis Declared in `<bslma_sequentialallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit SequentialAllocator( xref:BloombergLP/bslma/BufferAllocator/AlignmentStrategy.adoc[BufferAllocator::AlignmentStrategy] strategy, xref:BloombergLP/bslma/Allocator.adoc[Allocator]* basicAllocator = 0); ---- == Parameters [cols="1,4"] |=== | Name| Description | *strategy* | The alignment strategy used for allocations. | *basicAllocator* | The allocator used to supply memory. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#