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

Inequality operators

== Synopses

Declared in `&lt;bdlc&lowbar;bitarray&period;h&gt;`

Return whether the iterators refer to different positions (see free `operator!&equals;`)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-0a.adoc[operator!&equals;&lt;&gt;](
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const& lhs,
    xref:BloombergLP/bdlc/PackedIntArrayConstIterator.adoc[PackedIntArrayConstIterator] const& rhs);
----

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

Return `true` if `lhs` and `rhs` refer to different positions&period;


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

[.small]#xref:BloombergLP/bdlc/operator_not_eq-02.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 TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-07.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/PackedIntArray-0b.adoc[PackedIntArray&lt;TYPE&gt;] const& rhs);
----

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlc/operator_not_eq-008.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& lhs,
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& rhs);
----

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

Return whether the iterators refer to different positions (see free `operator!&equals;`)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-01b.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator] const& rhs);
----

[.small]#xref:BloombergLP/bdlc/operator_not_eq-01b.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` iterators differ&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-047d.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray_ConstIterator.adoc[CompactedArray&lowbar;ConstIterator&lt;TYPE&gt;] const& rhs);
----

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

Return `true` if the values stored in `lhs` and `rhs` differ&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-007.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue&lt;TYPE&gt;] const& rhs);
----

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

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


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

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class ENTRY,
    class ENTRY&lowbar;UTIL,
    class HASH,
    class EQUAL&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-0be.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;] const& lhs,
    xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;] const& rhs);
----

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

Return whether the maps differ in key&sol;value contents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-06.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap] const& lhs,
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap] const& rhs);
----

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class VALUE,
    class HASH,
    class EQUAL&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-0b1.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap&lt;KEY, VALUE, HASH, EQUAL&gt;] const& lhs,
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap&lt;KEY, VALUE, HASH, EQUAL&gt;] const& rhs);
----

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

Return whether the specified queues do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-0f.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/Queue.adoc[Queue&lt;T&gt;] const& lhs,
    xref:BloombergLP/bdlc/Queue.adoc[Queue&lt;T&gt;] const& rhs);
----

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlc/operator_not_eq-09.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/IndexClerkIter.adoc[IndexClerkIter] const& lhs,
    xref:BloombergLP/bdlc/IndexClerkIter.adoc[IndexClerkIter] const& rhs);
----

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

Return `true` if the specified `lhs` and `rhs` index clerks do not have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlc/operator_not_eq-014.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk] const& lhs,
    xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk] const& rhs);
----

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

Return whether the sets differ in contents&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-0473.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet] const& a,
    xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet] const& b);
----

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

Return whether two sets do not have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class KEY,
    class HASH,
    class EQUAL&gt;
bool
xref:BloombergLP/bdlc/operator_not_eq-01f.adoc[operator!&equals;](
    xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet&lt;KEY, HASH, EQUAL&gt;] const& a,
    xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet&lt;KEY, HASH, EQUAL&gt;] const& b);
----

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

== Return Value

* `true` if the iterators refer to different positions, and `false` otherwise
* `true` if `lhs` and `rhs` do not have the same value, and `false` otherwise
* `true` if the iterators differ, and `false` otherwise
* `true` if the values differ, and `false` otherwise
* `true` if the arrays do not have the same value, and `false` otherwise
* `true` if `lhs` and `rhs` differ, and `false` otherwise
* `true` if not equal, and `false` otherwise
* `true` if `a` and `b` differ, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand&hyphen;side iterator
| *rhs*
| right&hyphen;hand&hyphen;side iterator
| *a*
| first set to compare
| *b*
| second set to compare
|===


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