Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two unordered_map objects have the same value if they have the same number of key‐value pairs, and for each key‐value pair that is contained in lhs there is a key‐value pair contained in rhs having the same value, and vice versa. Note that this method requires that the (template parameter) types KEY and VALUE both be equality‐comparable (see {Requirements on value_type}).
Synopsis
Declared in <bslstl_unorderedmap.h>
template<
class KEY,
class VALUE,
class HASH,
class EQUAL,
class ALLOCATOR>
bool
operator==(
unordered_map<KEY, VALUE, HASH, EQUAL, ALLOCATOR> const& lhs,
unordered_map<KEY, VALUE, HASH, EQUAL, ALLOCATOR> const& rhs);
Created with MrDocs