[#BloombergLP-bdlb-VariantImp_NoAllocatorBase-getAllocator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/VariantImp_NoAllocatorBase.adoc[VariantImp&lowbar;NoAllocatorBase]::getAllocator
:relfileprefix: ../../../
:mrdocs:

Return 0&period; Note that this object does not hold an allocator pointer&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*
getAllocator() const;
----


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