BloombergLP::balcl::operator==

Return true if the specified lhs and rhs objects have the same value, and false otherwise.

Synopsis

Declared in <balcl_optionvalue.h>

bool
operator==(
    OptionValue const& lhs,
    OptionValue const& rhs);

Description

Two OptionValue objects have the same value if they have the same type, and (if the type is not e_VOID) the value of that type (as accessed through the* methods) is the same.

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand