Return true if the specified lhs and rhs objects have the same value, and false otherwise.
Declared in <bslstl_unorderedset.h>
template<
class KEY2,
class HASH2,
class EQUAL2,
class ALLOCATOR2>
bool
operator==(
unordered_set<KEY2, HASH2, EQUAL2, ALLOCATOR2> const& lhs,
unordered_set<KEY2, HASH2, EQUAL2, ALLOCATOR2> const& rhs);
This function is a hidden friend of unordered_set, declared only inside that class: it can be found only through argument-dependent lookup.
true if equal, otherwise false
| Name | Description |
|---|---|
| lhs | left-hand-side unordered set |
| rhs | right-hand-side unordered set |