[#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's value and copy/move state. == 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); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *value* | new integral value for this object | *state* | new copy/move state for this object |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#