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

Synopsis

Declared in <bslstl_unorderedmap.h>

template<
    class KEY2,
    class VALUE2,
    class HASH2,
    class EQUAL2,
    class ALLOCATOR2>
bool
operator==(
    unordered_map<KEY2, VALUE2, HASH2, EQUAL2, ALLOCATOR2> const& lhs,
    unordered_map<KEY2, VALUE2, HASH2, EQUAL2, ALLOCATOR2> const& rhs);
Note

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

Description

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

Return Value

true if equal, otherwise false

Parameters

Name

Description

lhs

left‐hand unordered map to compare

rhs

right‐hand unordered map to compare

Created with MrDocs