Move‐construct this object from a derived‐class rvalue.
Synopsis
Declared in <bsltf_copymovetracker.h>
template<class DERIVED>
CopyMoveTracker(bslmf::MovableRef<DERIVED> original)
requires bsl::is_convertible<DERIVED*,
CopyMoveTracker*>::value;
Description
Create object an object in the e_MOVED_INTO state and set the state of original to the bitwise OR of its initial state and e_MOVED_FROM. This constructor will not participate in overload resolution unless a DERIVED is derived from CopyMoveTracker; in C++03, therefore, this constructor will simulate automatic derived‐to‐base conversion of rvalue references.
Parameters
Name |
Description |
original |
object to move from |
Created with MrDocs