[#BloombergLP-bslalg-ContainerBase-equalAllocator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ContainerBase.adoc[ContainerBase]::equalAllocator
:relfileprefix: ../../../
:mrdocs:

Return `true` if this object and the specified `rhs` have allocators that compare equal&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
equalAllocator(xref:BloombergLP/bslalg/ContainerBase.adoc[ContainerBase] const& rhs) const;
----

== Return Value

`true` if this object&apos;s allocator equals that of `rhs`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| container base whose allocator is compared with this object&apos;s allocator
|===


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