[#BloombergLP-bsltf-CopyMoveTracker-operator_assign-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assignment operators

== Synopses

Declared in `&lt;bsltf&lowbar;copymovetracker&period;h&gt;`

Set this object to the `e&lowbar;COPIED&lowbar;NONCONST&lowbar;INTO` state and return a modifiable reference to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker]&
xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-00d.adoc[operator&equals;](xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker]& rhs);
----

[.small]#xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-00d.adoc[_» more&period;&period;&period;_]#

Set this object to the `e&lowbar;COPIED&lowbar;CONST&lowbar;INTO` state and return a modifiable reference to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker]&
xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-008.adoc[operator&equals;](xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker] const& rhs);
----

[.small]#xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-008.adoc[_» more&period;&period;&period;_]#

Set this object to the `e&lowbar;MOVED&lowbar;INTO` state and return a modifiable reference to this object&period; Set the state of `rhs` to the bitwise OR of its initial state and `e&lowbar;MOVED&lowbar;FROM`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker]&
xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-02.adoc[operator&equals;](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;CopyMoveTracker&gt;] rhs);
----

[.small]#xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-02.adoc[_» more&period;&period;&period;_]#

Set this object to the `e&lowbar;MOVED&lowbar;INTO` state and return a modifiable reference to this object&period; Set the state of `rhs` to the bitwise OR of its initial state and `e&lowbar;MOVED&lowbar;FROM`&period; This operator will not participate in overload resolution unless a `DERIVED` is derived from `CopyMoveTracker`&semi; in C&plus;&plus;03, therefore, this operator will simulate automatic derived&hyphen;to&hyphen;base conversion of rvalue references&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class DERIVED&gt;
xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker]&
xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-06.adoc[operator&equals;](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;DERIVED&gt;] rhs)
requires bsl&colon;&colon;is&lowbar;convertible&lt;DERIVED&ast;, CopyMoveTracker&ast;&gt;&colon;&colon;value;
----

[.small]#xref:BloombergLP/bsltf/CopyMoveTracker/operator_assign-06.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
