Return whether two objects do not have the same value.

Synopsis

Declared in <bsltf_nondefaultconstructibletesttype.h>

bool
operator!=(
    NonDefaultConstructibleTestType const& lhs,
    NonDefaultConstructibleTestType const& rhs);

Description

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two NonDefaultConstructibleTestType objects do not have the same value if data attributes are not the same.

Return Value

true if lhs and rhs differ, else false

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs