BloombergLP::bdlb::operator==

Grant the equality comparison operator access to this class's private members.

Synopsis

Declared in <bdlb_variant.h>

bool
operator==(
    VariantImp<VARIANT_TYPES> const& lhs,
    VariantImp<VARIANT_TYPES> const& rhs);

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand