[#BloombergLP-bslma-Allocator-do_is_equal]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/Allocator.adoc[Allocator]::do&lowbar;is&lowbar;equal
:relfileprefix: ../../../
:mrdocs:

Return `true` if this allocator is equal to the specified `other` allocator, meaning (at least) that a memory block allocated by one can be deallocated by the other&semi; otherwise return `false`&period; Unless overriden, this method returns `this &equals;&equals; &amp;other`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;allocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
do&lowbar;is&lowbar;equal(memory&lowbar;resource const& other) const noexcept override;
----


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