Return whether two CopyMoveTracker objects have the same value.
Declared in <bsltf_copymovetracker.h>
constexpr
bool
operator==(
CopyMoveTracker const& lhs,
OTHER const& rhs)
requires bsl::is_same<CopyMoveTracker, OTHER>::value;
Return true; 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.
true
| Name | Description |
|---|---|
| lhs | left-hand operand |
| rhs | right-hand operand |