[#BloombergLP-bslma-SequentialAllocator-2constructor-03]
= 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 of the specified `initialSize` and alignment `strategy`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;sequentialallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
SequentialAllocator(
    int initialSize,
    xref:BloombergLP/bslma/BufferAllocator/AlignmentStrategy.adoc[BufferAllocator::AlignmentStrategy] strategy,
    xref:BloombergLP/bslma/Allocator.adoc[Allocator]* basicAllocator = 0);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initialSize*
| The initial internal buffer size (in bytes)&period;
| *strategy*
| The alignment strategy used for allocations&period;
| *basicAllocator*
| The allocator used to supply memory&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
