bsl::operator==

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

Synopsis

Declared in <bslstl_unorderedmap.h>

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

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