Return true if the specified lhs variant object has the same value as the specified rhs variant object, and false otherwise. 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.

Synopsis

Declared in <bdlb_variant.h>

template<class TYPES>
bool
operator==(
    VariantImp<TYPES> const& lhs,
    VariantImp<TYPES> const& rhs);

Created with MrDocs