[#BloombergLP-bsltf-StdStatefulAllocator-2constructor-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/StdStatefulAllocator.adoc[StdStatefulAllocator]::StdStatefulAllocator
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bsltf&lowbar;stdstatefulallocator&period;h&gt;`

Create a `StdStatefulAllocator` object wrapping the same test allocator as the specified `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class BDE&lowbar;OTHER&lowbar;TYPE&gt;
xref:BloombergLP/bsltf/StdStatefulAllocator/2constructor-01.adoc[StdStatefulAllocator](xref:BloombergLP/bsltf/StdStatefulAllocator.adoc[StdStatefulAllocator&lt;BDE&lowbar;OTHER&lowbar;TYPE, PROPAGATE&lowbar;ON&lowbar;CONTAINER&lowbar;COPY&lowbar;CONSTRUCTION, PROPAGATE&lowbar;ON&lowbar;CONTAINER&lowbar;COPY&lowbar;ASSIGNMENT, PROPAGATE&lowbar;ON&lowbar;CONTAINER&lowbar;SWAP, PROPAGATE&lowbar;ON&lowbar;CONTAINER&lowbar;MOVE&lowbar;ASSIGNMENT, IS&lowbar;ALWAYS&lowbar;EQUAL&gt;] const& original);
----

[.small]#xref:BloombergLP/bsltf/StdStatefulAllocator/2constructor-01.adoc[_» more&period;&period;&period;_]#

Create a `StdStatefulAllocator` object wrapping the specified `allocator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bsltf/StdStatefulAllocator/2constructor-06.adoc[StdStatefulAllocator](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator = 0);
----

[.small]#xref:BloombergLP/bsltf/StdStatefulAllocator/2constructor-06.adoc[_» more&period;&period;&period;_]#


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