BloombergLP::bdlcc::operator==

Return true if the specified lhs list has the same value as the specified rhs list, and false otherwise. Two lists A and B have the same value if they have the same number of elements, and if for all i in the range [0, numberOfElements), the i'th pair from the front of A has the] same key and data values as the i'th pair from the front of B. Note that if there are duplicate key values in a list, the order of iteration over those pairs may be different than for another list that was constructed from the same sequence of values (and thus the lists may not compare equal).

Synopsis

Declared in <bdlcc_skiplist.h>

template<
    class KEY,
    class DATA>
bool
operator==(
    SkipList<KEY, DATA> const& lhs,
    SkipList<KEY, DATA> const& rhs);