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.

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

Move‐assign this object from the specified rhs.

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;

Return Value

a modifiable reference to this object

Parameters

Name

Description

rhs

object to assign from

Created with MrDocs