BloombergLP::bsltf::CopyMoveTracker::operator=

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.

CopyMoveTracker&
operator=(CopyMoveTracker& rhs);
» more...

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

CopyMoveTracker&
operator=(CopyMoveTracker const& rhs);
» more...

Move-assign this object from the specified rhs.

CopyMoveTracker&
operator=(bslmf::MovableRef<CopyMoveTracker> rhs);
» more...

Move-assign this object from a derived-class rvalue.

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

Return Value

a modifiable reference to this object

Parameters

NameDescription
rhsobject to assign from