[#BloombergLP-bsltf-setCopyMoveState-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::setCopyMoveState
:relfileprefix: ../../
:mrdocs:

`setCopyMoveState` overloads

== Synopses

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

Set the object at the specified `tracker` address to `state`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bsltf/setCopyMoveState-0e.adoc[setCopyMoveState](
    xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker]* tracker,
    xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[CopyMoveState::Enum] state);
----

[.small]#xref:BloombergLP/bsltf/setCopyMoveState-0e.adoc[_» more&period;&period;&period;_]#

Set the copy&sol;move state of the object at the specified `obj` address&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bsltf/setCopyMoveState-05.adoc[setCopyMoveState](
    xref:BloombergLP/bsltf/MovableAllocTestType.adoc[MovableAllocTestType]* obj,
    xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[CopyMoveState::Enum] state);
----

[.small]#xref:BloombergLP/bsltf/setCopyMoveState-05.adoc[_» more&period;&period;&period;_]#

Do nothing for types that do not customize this ADL point&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/bsltf/setCopyMoveState-0f.adoc[setCopyMoveState](
    void* obj&lowbar;p,
    xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[CopyMoveState::Enum] state);
----

[.small]#xref:BloombergLP/bsltf/setCopyMoveState-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tracker*
| address of the tracker to update
| *state*
| new copy&sol;move state
| *obj*
| address of the object whose state is set
| *obj&lowbar;p*
| unused&semi; present so the overload matches any object
|===


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