[#BloombergLP-bslstl-Variant_AllocatorBase-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Variant_AllocatorBase :relfileprefix: ../../ :mrdocs: This component‐private struct keeps track of the allocator for a `bsl::variant` object. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<bool t_AA> struct Variant_AllocatorBase; ---- == Description The primary template is used when the `variant` is not allocator‐aware (because it has no allocator‐aware alternatives). == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_AllocatorBase-0e/mechanism.adoc[`mechanism`] | Return a null pointer. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_AllocatorBase-04.adoc[`Variant_AllocatorBase<true>`] | This specialization is used when the `variant` is allocator‐aware. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslstl/Variant_Base.adoc[`Variant_Base`] | Define the data representation and special member functions of `bsl::variant`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#