BloombergLP::baljsn::operator==

Return true if the specified lhs and rhs have the same value.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

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

Description

Return 'true' if the specified 'lhs' and 'rhs' objects have the same value, and 'false' otherwise. Two 'EncoderTestChoiceWithAllCategoriesChoice' objects have the same value if either the selections in both objects have the same ids and the same values, or both selections are undefined.

Return Value

true if both objects have the same value, and false otherwise

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand