Return whether two CopyMoveTracker objects have different values.
Declared in <bsltf_copymovetracker.h>
constexpr
bool
operator!=(
CopyMoveTracker const& lhs,
OTHER const& rhs)
requires bsl::is_same<CopyMoveTracker, OTHER>::value;
Return false; the copy/move state is not a salient attribute, so all CopyMoveTracker objects compare equal. Note that this operator is called implicitly if a client class defines a defaulted comparison operator (C++20), but will not be selected by overload resolution for a derived class having no comparison operator.
false
| Name | Description |
|---|---|
| lhs | left-hand operand |
| rhs | right-hand operand |