Inequality operators

Synopses

Declared in <bslstl_bidirectionaliterator.h>

Return true if lhs and rhs do not have the same value.

template<
    class T1,
    class T2,
    class ITER_IMP,
    class TAG_TYPE>
bool
operator!=(
    ForwardIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
    ForwardIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);

Return whether two bidirectional iterators refer to different positions.

template<
    class T1,
    class T2,
    class ITER_IMP,
    class TAG_TYPE>
bool
operator!=(
    BidirectionalIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
    BidirectionalIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);

Return true if lhs and rhs do not have the same value.

template<
    class T1,
    class T2,
    class ITER_IMP,
    class TAG_TYPE>
bool
operator!=(
    RandomAccessIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
    RandomAccessIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);

Return true if lhs and rhs do not have the same value.

template<
    class KEY_CONFIG,
    class HASHER,
    class COMPARATOR,
    class ALLOCATOR>
bool
operator!=(
    HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR> const& lhs,
    HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR> const& rhs);

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

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

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

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

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

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

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

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

Return true if lhs and rhs do not have the same value.

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

Same as the preceding overload.

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

Same as the preceding overload.

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

Same as the preceding overload.

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

Return Value

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

  • true if the iterators do not have the same value, and false otherwise

  • true if the hash tables compare unequal

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

  • true if the iterators do not have the same value

Parameters

Name

Description

lhs

first iterator to compare

rhs

second iterator to compare

Created with MrDocs