Return whether lhs and rhs do not have the same value.
Declared in <bdlb_variant.h>
template<class TYPES>
bool
operator!=(
VariantImp<TYPES> const& lhs,
VariantImp<TYPES> const& rhs);
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.
true if lhs and rhs do not have the same value, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand operand |
| rhs | right-hand operand |