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

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs