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