[#BloombergLP-bslstl-operator_not_eq-0ac] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator!= :relfileprefix: ../../ :mrdocs: Inequality operators == Synopses Declared in `<bslstl_bidirectionaliterator.h>` Return `true` if the specified `lhs` iterator does not have the same value as the specified `rhs` iterator, and `false` otherwise. Two iterators do not have the same value if (1) they do not refer to the same element and (2) both do not have the past‐the‐end iterator value for the underlying sequence. The behavior is undefined unless both iterators refer to the same underlying sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-0bc.adoc[operator!=]( xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-0bc.adoc[_» more..._]# Return `true` if the specified `lhs` iterator does not have the same value as the specified `rhs` iterator, and `false` otherwise. Two iterators do not have the same value if (1) they do not refer to the same element and (2) both do not have the past‐the‐end iterator value for the underlying sequence. The behavior is undefined unless both iterators refer to the same underlying sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-0d.adoc[operator!=]( xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-0d.adoc[_» more..._]# Return `true` if the specified `lhs` iterator does not have the same value as the specified `rhs` iterator, and `false` otherwise. Two iterators do not have the same value if (1) they do not refer to the same element and (2) both do not have the past‐the‐end iterator value for the underlying sequence. The behavior is undefined unless both iterators refer to the same underlying sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-093.adoc[operator!=]( xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-093.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `HashTable` objects do not have the same value if they do not have the same number of elements, or if, for any key found in `lhs`, the subset of elements having that key (according to the hash‐table's `comparator`) in `lhs` either (1) does not have the same number of elements as the subset of elements having that key in `rhs`, or (2) there exists no permutation of the `lhs` subset where each element compares equal (using `operator==`) to the corresponding element in the `rhs` subset. The behavior is undefined unless both the `hasher` and `comparator` of `lhs` and `rhs` return the same value for every valid input. Note that this method requires that the `ValueType` of the parameterized `KEY_CONFIG` be "equality‐comparable" (see {Requirements on `KEY_CONFIG`}). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY_CONFIG, class HASHER, class COMPARATOR, class ALLOCATOR> bool xref:BloombergLP/bslstl/operator_not_eq-065.adoc[operator!=]( xref:BloombergLP/bslstl/HashTable-06.adoc[HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR>] const& lhs, xref:BloombergLP/bslstl/HashTable-06.adoc[HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-065.adoc[_» more..._]# Return `true` if the specified `lhs` and the specified `rhs` iterators do not have the same value and `false` otherwise. Two iterators do not have the same value if they refer to the 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-0bf.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-0bf.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-09f.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-09f.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-00.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-00.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-062ef.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-062ef.adoc[_» more..._]# Return `true` if the specified `lhs` and the specified `rhs` iterators do not have the same value and `false` otherwise. Two iterators do not have the same value if they refer to the different nodes in the same list, or if either (but not both) of the iterators are at the past‐the‐end position of the tree. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-0a6.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-0a6.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-062ee.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-062ee.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-02.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-02.adoc[_» more..._]# Same as the preceding overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> bool xref:BloombergLP/bslstl/operator_not_eq-067.adoc[operator!=]( xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& lhs, xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslstl/operator_not_eq-067.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#