[#BloombergLP-bslstl-Variant_AllocatorBase-04-2constructor-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_AllocatorBase-04.adoc[Variant&lowbar;AllocatorBase&lt;true&gt;]::Variant&lowbar;AllocatorBase
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bslstl&lowbar;variant&period;h&gt;`

Create a `Variant&lowbar;AllocatorBase` object that holds the currently installed default allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslstl/Variant_AllocatorBase-04/2constructor-0b.adoc[Variant&lowbar;AllocatorBase]();
----

[.small]#xref:BloombergLP/bslstl/Variant_AllocatorBase-04/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Create a `Variant&lowbar;AllocatorBase` object that holds a copy of the allocator held by the specified `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslstl/Variant_AllocatorBase-04/2constructor-01.adoc[Variant&lowbar;AllocatorBase](xref:BloombergLP/bslstl/Variant_AllocatorBase-04.adoc[Variant&lowbar;AllocatorBase&lt;true&gt;] const& original);
----

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

Create a `Variant&lowbar;AllocatorBase` object that holds a copy of the specified `allocator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslstl/Variant_AllocatorBase-04/2constructor-0c.adoc[Variant&lowbar;AllocatorBase](xref:BloombergLP/bslstl/Variant_AllocatorBase-04/allocator_type.adoc[allocator&lowbar;type] allocator);
----

[.small]#xref:BloombergLP/bslstl/Variant_AllocatorBase-04/2constructor-0c.adoc[_» more&period;&period;&period;_]#


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