[#BloombergLP-bdlb-VariantImp_NoAllocatorBase-getAllocator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase.adoc[VariantImp_NoAllocatorBase]::getAllocator :relfileprefix: ../../../ :mrdocs: Return 0. Note that this object does not hold an allocator pointer. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* getAllocator() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#