[#BloombergLP-bdlb-operator_not_eq-045] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator!= :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` variant object does not have the same value as the specified `rhs` variant object, and `false` otherwise. 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. == 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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#