[#BloombergLP-bslstl-operator_not_eq-0ac]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator!&equals;
:relfileprefix: ../../
:mrdocs:

Inequality operators

== Synopses

Declared in `&lt;bslstl&lowbar;bidirectionaliterator&period;h&gt;`

Return `true` if `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T1,
    class T2,
    class ITER&lowbar;IMP,
    class TAG&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-0bc.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator&lt;T1, ITER&lowbar;IMP, TAG&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator&lt;T2, ITER&lowbar;IMP, TAG&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-0bc.adoc[_» more&period;&period;&period;_]#

Return whether two bidirectional iterators refer to different positions&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T1,
    class T2,
    class ITER&lowbar;IMP,
    class TAG&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-0d.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator&lt;T1, ITER&lowbar;IMP, TAG&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/BidirectionalIterator.adoc[BidirectionalIterator&lt;T2, ITER&lowbar;IMP, TAG&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-0d.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T1,
    class T2,
    class ITER&lowbar;IMP,
    class TAG&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-093.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator&lt;T1, ITER&lowbar;IMP, TAG&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/RandomAccessIterator.adoc[RandomAccessIterator&lt;T2, ITER&lowbar;IMP, TAG&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-093.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY&lowbar;CONFIG,
    class HASHER,
    class COMPARATOR,
    class ALLOCATOR&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-065.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTable.adoc[HashTable&lt;KEY&lowbar;CONFIG, HASHER, COMPARATOR, ALLOCATOR&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTable.adoc[HashTable&lt;KEY&lowbar;CONFIG, HASHER, COMPARATOR, ALLOCATOR&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-065.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-0bf.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-0bf.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-09f.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-09f.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-00.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-00.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-062ef.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-062ef.adoc[_» more&period;&period;&period;_]#

Return `true` if `lhs` and `rhs` do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-0a6.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-0a6.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-062ee.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-062ee.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-02.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-02.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class DIFFERENCE&lowbar;TYPE&gt;
bool
xref:BloombergLP/bslstl/operator_not_eq-067.adoc[operator!&equals;](
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslstl/HashTableIterator.adoc[HashTableIterator&lt;VALUE&lowbar;TYPE const, DIFFERENCE&lowbar;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslstl/operator_not_eq-067.adoc[_» more&period;&period;&period;_]#

== 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

[cols="1,4"]
|===
| Name| Description
| *lhs*
| first iterator to compare
| *rhs*
| second iterator to compare
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
