[#BloombergLP-bslstl-Variant_AllocatorBase-0e-mechanism] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Variant_AllocatorBase-0e.adoc[Variant_AllocatorBase]::mechanism :relfileprefix: ../../../ :mrdocs: Return a null pointer. Note that this method has the same return type as the allocator‐aware version so that the remainder of the implementation of `bsl::variant` is abstracted with respect to whether or not the specialization is allocator‐aware; this is why both methods return `bslma::Allocator*` instead of `bsl::allocator<char>`. The returned pointer will be ignored (and not dereferenced) when passed to `bslma::ConstructionUtil::construct`. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* mechanism() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#