Return whether two CopyMoveTracker objects have different values.

Synopsis

Declared in <bsltf_copymovetracker.h>

constexpr
bool
operator!=(
    CopyMoveTracker const& lhs,
    OTHER const& rhs)
requires bsl::is_same<CopyMoveTracker, OTHER>::value;

Description

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.

Return Value

false

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs