Assignment operators

Synopses

Declared in <bsltf_copymovetracker.h>

Set this object to the e_COPIED_NONCONST_INTO state and return a modifiable reference to this object.

Set this object to the e_COPIED_CONST_INTO state and return a modifiable reference to this object.

Set this object to the e_MOVED_INTO state and return a modifiable reference to this object. Set the state of rhs to the bitwise OR of its initial state and e_MOVED_FROM.

Set this object to the e_MOVED_INTO state and return a modifiable reference to this object. Set the state of rhs to the bitwise OR of its initial state and e_MOVED_FROM. This operator will not participate in overload resolution unless a DERIVED is derived from CopyMoveTracker; in C++03, therefore, this operator will simulate automatic derived‐to‐base conversion of rvalue references.

template<class DERIVED>
CopyMoveTracker&
operator=(bslmf::MovableRef<DERIVED> rhs)
requires bsl::is_convertible<DERIVED*, CopyMoveTracker*>::value;

Created with MrDocs