[#bsl-operator_eq-0a22] = xref:bsl.adoc[bsl]::operator== :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<bits/memory_resource.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool operator==( polymorphic_allocator<BslAllocator_Voidish> const& __a, polymorphic_allocator<BslAllocator_Voidish> const& __b) noexcept; ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:bsl/allocator-0a.adoc[allocator<void>], declared inside its base class xref:bsl/polymorphic_allocator.adoc[polymorphic_allocator]: it can be found only through argument-dependent lookup. ==== == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#