Return true if the specified lhs and rhs objects 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 have the same value if they have the same number of entries, and for each entry that is contained in lhs there is a entry contained 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 have the same value, and false otherwise

Parameters

Name

Description

lhs

first table to compare

rhs

second table to compare

Created with MrDocs