Inequality operators

Synopses

Declared in <bdlc_bitarray.h>

Return true if the specified lhs and rhs iterators do not have the same value and false otherwise. Two PackedIntArrayConstIterator iterators do not have the same value if they do not refer to the same array, or do not have the same index.

template<class TYPE>
bool
operator!=(
    PackedIntArrayConstIterator<TYPE> const& lhs,
    PackedIntArrayConstIterator<TYPE> const& rhs);

Return true if the specified lhs and rhs arrays do not have the same value, and false otherwise. Two PackedIntArray arrays do not have the same value if they do not have the same length, or if any corresponding elements (those at the same indices) do not have the same value.

template<class TYPE>
bool
operator!=(
    PackedIntArray<TYPE> const& lhs,
    PackedIntArray<TYPE> const& rhs);

Return true if the specified lhs and rhs arrays do not have the same value, and false otherwise. Two arrays do not have the same value if they do not have the same length, or there is at least one valid index position at which corresponding bits do not have the same value.

bool
operator!=(
    BitArray const& lhs,
    BitArray const& rhs);

Return whether the iterators refer to different positions (see free operator!=).

Return true if the specified lhs and rhs iterators do not have the same value, and false otherwise. Two CompactedArray_ConstIterator iterators do not have the same value if one has the default value and the other does not, or neither has the default value and they do not reference the same location in the same array.

template<class TYPE>
bool
operator!=(
    CompactedArray_ConstIterator<TYPE> const& lhs,
    CompactedArray_ConstIterator<TYPE> const& rhs);

Return true if the underlying object value of the specified lhs is not the same as the underlying object value of the specified rhs, and false otherwise. Note that the reference counts are intentionally ignored.

template<class TYPE>
bool
operator!=(
    CompactedArray_CountedValue<TYPE> const& lhs,
    CompactedArray_CountedValue<TYPE> const& rhs);

Return true if the specified lhs and rhs arrays do not have the same value, and false otherwise. Two CompactedArray arrays do not have the same value if they do not have the same length, or if any corresponding elements (those at the same indices) do not have the same value.

template<class TYPE>
bool
operator!=(
    CompactedArray<TYPE> const& lhs,
    CompactedArray<TYPE> const& rhs);

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two FlatHashTable objects do not have the same value if they do not have the same number of entries, or that for some entry contained in lhs there is not a entry in rhs having the same value. Note that this method requires the (template parameter) type ENTRY to be equality‐comparable.

template<
    class KEY,
    class ENTRY,
    class ENTRY_UTIL,
    class HASH,
    class EQUAL>
bool
operator!=(
    FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL> const& lhs,
    FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL> const& rhs);

Return whether the maps differ in key/value contents.

template<>
bool
operator!=(
    FlatHashMap const&,
    FlatHashMap const&);

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two FlatHashMap objects do not have the same value if their sizes are different or one contains an element equal to no element of the other. The hash and equality functors are not involved in the comparison.

template<
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL>
bool
operator!=(
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& lhs,
    FlatHashMap<KEY, VALUE, HASH, EQUAL> const& rhs);

Return true if the specified lhs and rhs queues do not have the same value, and false otherwise. Two queues do not have the same value if they have different lengths or differ in at least one index position.

template<class T>
bool
operator!=(
    Queue<T> const& lhs,
    Queue<T> const& rhs);

Return true if lhs and rhs do not have the same value and false otherwise. Two iterators do not have the same value if they do not refer to the same element of the same container or if one has the end iterator value of a container and the other refers to an element (not the end) of the same container. The behavior is undefined unless lhs and rhs refer to the same container and are non‐singular (i.e., are not default‐constructed or copies of singular iterators).

bool
operator!=(
    IndexClerkIter const& lhs,
    IndexClerkIter const& rhs);

Return true if the specified lhs and rhs index clerks do not have the same value, and false otherwise. Two IndexClerk objects do not have the same value if they do not have the same nextNewIndex(), or might generate different sequences of integer indices.

bool
operator!=(
    IndexClerk const& lhs,
    IndexClerk const& rhs);

Return whether the sets differ in contents.

template<>
bool
operator!=(
    FlatHashSet const&,
    FlatHashSet const&);

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two FlatHashSet objects do not have the same value if their sizes are different or one contains an element equal to no element of the other. The hash and equality functors are not involved in the comparison.

template<
    class KEY,
    class HASH,
    class EQUAL>
bool
operator!=(
    FlatHashSet<KEY, HASH, EQUAL> const& a,
    FlatHashSet<KEY, HASH, EQUAL> const& b);

Created with MrDocs