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.

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.

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

Created with MrDocs