BloombergLP::bsltf::operator==

Return whether two objects have the same value.

Synopsis

Declared in <bsltf_simpletesttype.h>

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

Description

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two SimpleTestType 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