[#BloombergLP-bdlb-operator_not_eq-045] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator!= :relfileprefix: ../../ :mrdocs: Return whether `lhs` and `rhs` do not have the same value. == Synopsis Declared in `<bdlb_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPES> bool operator!=( xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp<TYPES>] const& lhs, xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp<TYPES>] 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. == Return Value `true` if `lhs` and `rhs` do not have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#