Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two map objects lhs and rhs have the same value if they have the same number of key‐value pairs, and each element in the ordered sequence of key‐value pairs of lhs has the same value as the corresponding element in the ordered sequence of key‐value pairs of rhs. This method requires that the (template parameter) types KEY and VALUE both be equality‐comparable (see {Requirements on KEY and VALUE}).
Synopsis
Declared in <bslstl_map.h>
template<
class KEY,
class VALUE,
class COMPARATOR,
class ALLOCATOR>
bool
operator==(
map<KEY, VALUE, COMPARATOR, ALLOCATOR> const& lhs,
map<KEY, VALUE, COMPARATOR, ALLOCATOR> const& rhs);
Created with MrDocs