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

This specialization is used when the `variant` is allocator&hyphen;aware&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct xref:BloombergLP/bslstl/Variant_AllocatorBase-0e.adoc[Variant&lowbar;AllocatorBase]&lt;true&gt;;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_AllocatorBase-04/MoveUtil.adoc[`MoveUtil`] 
| Utility for movable reference operations&period;
| xref:BloombergLP/bslstl/Variant_AllocatorBase-04/allocator_type.adoc[`allocator&lowbar;type`] 
| Allocator type used by an allocator&hyphen;aware `variant`&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_AllocatorBase-04/2constructor-05.adoc[`Variant&lowbar;AllocatorBase`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslstl/Variant_AllocatorBase-04/mechanism.adoc[`mechanism`] 
| Return the mechanism of the stored allocator&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_AllocatorBase-04/d_allocator.adoc[`d&lowbar;allocator`] 
| Allocator used to supply memory for the alternative objects&period;
|===



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