[#BloombergLP-bsltf-TemplateTestFacility-setMovedIntoState]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/TemplateTestFacility.adoc[TemplateTestFacility]::setMovedIntoState
:relfileprefix: ../../../
:mrdocs:

Set the moved&hyphen;into state of `object` to the specified `value`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
void
setMovedIntoState(
    TYPE* object,
    xref:BloombergLP/bsltf/MoveState/Enum.adoc[bsltf::MoveState::Enum] value);
----

== Description

Has no effect if (template parameter) `TYPE` does not support move states&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| object whose moved&hyphen;into state is set
| *value*
| moved&hyphen;into state to assign
|===


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