BloombergLP::bsltf::operator!=

Return whether two objects do not 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 do not have the same value, and false otherwise. Two SimpleTestType objects do not have the same value if their data attributes are not the same.

Return Value

true if lhs and rhs differ, else false

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand