BloombergLP::bslstl::operator==

Return true if lhs and rhs have the same value.

Synopsis

Declared in <bslstl_hashtableiterator.h>

template<
    class VALUE_TYPE,
    class DIFFERENCE_TYPE>
bool
operator==(
    HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& lhs,
    HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& rhs);

Description

Two iterators have the same value if they refer to the same node in the same list, or if both iterators are at the past-the-end position of the tree.

Return Value

true if the iterators have the same value

Parameters

NameDescription
lhsfirst iterator to compare
rhssecond iterator to compare