bsl::operator==

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

NameDescription
lhsleft-hand unordered map to compare
rhsright-hand unordered map to compare