Return true if the specified lhs and rhs objects have the same value, and false otherwise.

Synopsis

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);
Note

This function is a hidden friend of unordered_set, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if equal, otherwise false

Parameters

Name

Description

lhs

left‐hand‐side unordered set

rhs

right‐hand‐side unordered set

Created with MrDocs