Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two unordered_set objects have the same value if they have the same number of value‐elements, and for each value‐element that is contained in lhs there is a value‐element contained in rhs having the same value, and vice‐versa. Note that this method requires that the (template parameter) type KEY be equality‐comparable (see {Requirements on KEY}).

Synopsis

Declared in <bslstl_unorderedset.h>

template<
    class KEY,
    class HASH,
    class EQUAL,
    class ALLOCATOR>
bool
operator==(
    unordered_set<KEY, HASH, EQUAL, ALLOCATOR> const& lhs,
    unordered_set<KEY, HASH, EQUAL, ALLOCATOR> const& rhs);

Created with MrDocs