Return whether lhs and rhs 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 have the same value if they are both set and hold objects of the same type and same value, or are both unset.
true if lhs and rhs have the same value, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand operand |
| rhs | right-hand operand |