[#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;_]#

Move&hyphen;assign this object from the specified `rhs`&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;_]#

Move&hyphen;assign this object from a derived&hyphen;class rvalue&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;_]#

== Return Value

a modifiable reference to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| object to assign from
|===


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