[#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/move `state`. The behavior is undefined if the arguments would violate any class invariants, i.e., an invalid copy/move state, a value less than ‐1, or a moved‐from state with value other than ‐1. == Synopsis Declared in `<bsltf_argumenttype.h>` [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]#