Return whether lhs and rhs do not have the same value.

Synopsis

Declared in <bdlc_flathashmap.h>

template<
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL>
bool
operator!=(
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& lhs,
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& rhs);

Description

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two FlatHashMap objects do not have the same value if their sizes are different or one contains an element equal to no element of the other. The hash and equality functors are not involved in the comparison.

Return Value

true if lhs and rhs differ, and false otherwise

Parameters

Name

Description

lhs

left‐hand map to compare

rhs

right‐hand map to compare

Created with MrDocs