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

Inequality operators

== Synopses

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

Return `true` if the specified `lhs` and `rhs` have different values, and `true` otherwise&period; Two `DatumBinaryRef` objects have different values if they refer to arrays of bytes of different sizes or having a different content&period;


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

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

Return `true` if the specified `lhs` and `rhs` have different values and `false` otherwise&period; Two `DatumError` objects have different values if they have different error code or message values&period;


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

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

Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise&period; Two `DatumUdt` objects have different values if they have different data or type values&period;


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

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

Return `true` if the specified `lhs` and `rhs` datums do not represent the same value, and `false` otherwise&period; Two datums do not represent the same value if they do not hold values of the same type, or they hold values of the same type but invoking `&equals;&equals;` operator on the stored values returns `false`&period; Two strings do not have the same value if they have different lengths or values at one of the respective character position are not the same&period; Two `DatumUdt` objects are not equal if they have different pointer or type values&period; Two `bslmf&colon;&colon;Nil` values are always equal&period; Two datums with `NaN` values are never equal&period; Two datums that hold arrays of datums have different values if the underlying arrays have different lengths or invoking `&equals;&equals;` operator on at least one of the corresponding pair of contained elements returns `false`&period; Two datums that hold maps of datums have different values if the underlying maps have different sizes or at least one of the corresponding pair of elements in the maps have different keys or invoking `&equals;&equals;` operator on the values returns `false`&period;


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

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

Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise&period; Two `DatumArrayRef` objects have different values if they hold arrays of different lengths or invoking operator `&equals;&equals;` returns false for at least one of the corresponding elements in the arrays&period;


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

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

Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise&period; Two `DatumIntMapEntry` objects have different values if either the keys or values are not equal&period;


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

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

Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise&period; Two `DatumIntMapRef` objects have different values if they hold maps of different sizes or operator `&equals;&equals;` returns `false` for at least one of the corresponding elements in the maps&period;


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

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

Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise&period; Two `DatumMapEntry` objects have different values if either the keys or values are not equal&period;


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

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

Return `true` if the specified `lhs` and `rhs` have different values, and `false` otherwise&period; Two `DatumMapRef` objects have different values if they hold maps of different sizes or operator `&equals;&equals;` returns false for at least one of the corresponding elements in the maps&period;


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

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

Return `true` if the specified `lhs` and `rhs` `ManagedDatum` objects do not have the same value, and `false` otherwise&period; Two `ManagedDatum` objects do not have the same value if their corresponding managed `Datum` objects do not have the same value&period; See the function&hyphen;level documentation of the `Datum` equality&hyphen;comparison operators for details&period;


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

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


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