Constructors

Synopses

Declared in <bsltf_copymovetracker.h>

Create object an object in the e_NOT_COPIED_OR_MOVE state.

Create object an object in the e_COPIED_NONCONST_INTO state.

Create object an object in the e_COPIED_CONST_INTO state.

CopyMoveTracker(CopyMoveTracker const& original);

Create object an object in the e_MOVED_INTO state and set the state of original to the bitwise OR of its inititial state and e_MOVED_FROM.

Move‐construct this object from a derived‐class rvalue.

template<class DERIVED>
CopyMoveTracker(bslmf::MovableRef<DERIVED> original)
requires bsl::is_convertible<DERIVED*,
                           CopyMoveTracker*>::value;

Parameters

Name

Description

original

object providing the value to copy

Created with MrDocs