BloombergLP::bsltf::CopyMoveTracker::operator=

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.

Synopsis

Declared in <bsltf_copymovetracker.h>

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