BloombergLP::bdlc::operator!=

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

Synopsis

Declared in <bdlc_flathashtable.h>

template<
    class KEY,
    class ENTRY,
    class ENTRY_UTIL,
    class HASH,
    class EQUAL>
bool
operator!=(
    FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL> const& lhs,
    FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL> const& rhs);

Description

Two FlatHashTable objects do not have the same value if they do not have the same number of entries, or that for some entry contained in lhs there is not a entry in rhs having the same value. Note that this method requires the (template parameter) type ENTRY to be equality-comparable.

Return Value

true if lhs and rhs differ, and false otherwise

Parameters

NameDescription
lhsfirst table to compare
rhssecond table to compare