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

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

== Synopsis

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

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

== Description

This function is an ADL customization point used by `CopyMoveState&colon;&colon;set(obj, state)`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *obj*
| address of the object whose state is set
| *state*
| new copy&sol;move state
|===


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