[#BloombergLP-bslalg-ContainerBase_NonEmptyBase-allocatorRef-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase.adoc[ContainerBase&lowbar;NonEmptyBase]::allocatorRef
:relfileprefix: ../../../
:mrdocs:

Return a reference to this object&apos;s allocator, which is typically a copy of the allocator used to construct this object&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;containerbase&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ALLOCATOR&
allocatorRef();
----

== Return Value

modifiable reference to this object&apos;s allocator


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