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

Return the allocator used by this object to supply memory&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]#
