[#bsl-operator_eq-024]
= xref:bsl.adoc[bsl]::operator&equals;&equals;
:relfileprefix: ../
:mrdocs:

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `unordered&lowbar;map` objects have the same value if they have the same number of key&hyphen;value pairs, and for each key&hyphen;value pair that is contained in `lhs` there is a key&hyphen;value pair contained in `rhs` having the same value, and vice versa&period; Note that this method requires that the (template parameter) types `KEY` and `VALUE` both be `equality&hyphen;comparable` (see &lcub;Requirements on `value&lowbar;type`&rcub;)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL,
    class ALLOCATOR&gt;
bool
operator&equals;&equals;(
    xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map&lt;KEY, VALUE, HASH, EQUAL, ALLOCATOR&gt;] const& lhs,
    xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map&lt;KEY, VALUE, HASH, EQUAL, ALLOCATOR&gt;] const& rhs);
----


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