BloombergLP::bslstl::operator==

Return true if the specified lhs and rhs have the same value.

Synopsis

Declared in <bslstl_hashtablebucketiterator.h>

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

Description

Two iterators have the same value if they refer to the same element in the same hash table, or if both iterators are positioned after the end of a hash table bucket.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

NameDescription
lhsfirst iterator to compare
rhssecond iterator to compare