Return true if lhs and rhs have the same value.
Synopsis
Declared in <bslstl_unorderedmultimap.h>
template<
class KEY,
class VALUE,
class HASH,
class EQUAL,
class ALLOCATOR>
bool
operator==(
unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR> const& lhs,
unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR> const& rhs);
Description
Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two unordered_multimap objects have the same value if they have the same number of key‐value pairs, and each key‐value pair that is contained in one of the objects is also contained in the other object. This method requires that the (template parameter) types KEY and VALUE both be equality‐comparable (see {Requirements on KEY and VALUE}).
Return Value
true if the unordered multimaps compare equal
Parameters
Name |
Description |
lhs |
left‐hand unordered multimap to compare |
rhs |
right‐hand unordered multimap to compare |
Created with MrDocs