[#BloombergLP-bslstl-Variant_AllocatorBase-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_AllocatorBase-0e.adoc[Variant_AllocatorBase]<true> :relfileprefix: ../../ :mrdocs: This specialization is used when the `variant` is allocator‐aware. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct xref:BloombergLP/bslstl/Variant_AllocatorBase-0e.adoc[Variant_AllocatorBase]<true>; ---- == Type Aliases [cols="1"] |=== | Name | xref:BloombergLP/bslstl/Variant_AllocatorBase-04/MoveUtil.adoc[`MoveUtil`] | xref:BloombergLP/bslstl/Variant_AllocatorBase-04/allocator_type.adoc[`allocator_type`] |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_AllocatorBase-04/2constructor-05.adoc[`Variant_AllocatorBase`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bslstl/Variant_AllocatorBase-04/mechanism.adoc[`mechanism`] | Return the mechanism of the stored allocator. |=== == Data Members [cols="1"] |=== | Name | xref:BloombergLP/bslstl/Variant_AllocatorBase-04/d_allocator.adoc[`d_allocator`] |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#