[#bsl-operator_eq-0cb] = xref:bsl.adoc[bsl]::operator== :relfileprefix: ../ :mrdocs: Return `true` if `lhs` and `rhs` have the same value, and `false` otherwise. == Synopsis Declared in `<bslstl_unorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY2, class VALUE2, class HASH2, class EQUAL2, class ALLOCATOR2> bool operator==( xref:bsl/unordered_map-02b.adoc[unordered_map<KEY2, VALUE2, HASH2, EQUAL2, ALLOCATOR2>] const& lhs, xref:bsl/unordered_map-02b.adoc[unordered_map<KEY2, VALUE2, HASH2, EQUAL2, ALLOCATOR2>] const& rhs); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:bsl/unordered_map-02b.adoc[unordered_map], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Description Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. == Return Value `true` if equal, otherwise `false` == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand unordered map to compare | *rhs* | right‐hand unordered map to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#