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

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs