[#BloombergLP-bdlb-operator_not_eq-045]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator!&equals;
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bdlb&lowbar;variant&period;h&gt;`

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

== Description

Two variant objects do not have the same value if one is set and the other is unset, or if they are both set but hold objects that differ in type or value&period;

== Return Value

`true` if `lhs` and `rhs` do not have the same value, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand operand
| *rhs*
| right&hyphen;hand operand
|===


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