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

`allocatorRef` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ALLOCATOR&
xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/allocatorRef-03.adoc[allocatorRef]();
----

[.small]#xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/allocatorRef-03.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ALLOCATOR const&
xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/allocatorRef-02.adoc[allocatorRef]() const;
----

[.small]#xref:BloombergLP/bslalg/ContainerBase_NonEmptyBase/allocatorRef-02.adoc[_» more&period;&period;&period;_]#


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