[#BloombergLP-bslma-Allocator-do_is_equal] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/Allocator.adoc[Allocator]::do_is_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; otherwise return `false`. Unless overriden, this method returns `this == &other`. == Synopsis Declared in `<bslma_allocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool do_is_equal(memory_resource const& other) const noexcept override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#