[#BloombergLP-bsltf-ArgumentType-set]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/ArgumentType.adoc[ArgumentType]::set
:relfileprefix: ../../../
:mrdocs:

Set this object to the specified `value` having the specified copy&sol;move `state`&period; The behavior is undefined if the arguments would violate any class invariants, i&period;e&period;, an invalid copy&sol;move state, a value less than &hyphen;1, or a moved&hyphen;from state with value other than &hyphen;1&period;

== Synopsis

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

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


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