BloombergLP::bsltf::operator==

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

Synopsis

Declared in <bsltf_uniontesttype.h>

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

Description

Two UnionTestType objects have the same value if their data attributes are the same.

Return Value

true if lhs and rhs compare equal, else false

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand