BloombergLP::bslstl::operator!=

Return true if the specified lhs and rhs do not 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 do not have the same value if they refer to different elements in the same hash table, or if either (but not both) of the iterators are positioned after the end of a hash table bucket.

Return Value

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

Parameters

NameDescription
lhsfirst iterator to compare
rhssecond iterator to compare