[#BloombergLP-bsltf-setMovedInto-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::setMovedInto
:relfileprefix: ../../
:mrdocs:

Set the moved&hyphen;into state of the specified `object` to the specified `value`&period; The default implementation of this ADL customization point calls `CopyMoveState&colon;&colon;set` and translates `value` into the correpsonding `CopyMoveState&colon;&colon;Enum`&period; Note that a customization of this function for a specific type will not be &quot;inherited&quot; by derived classes of that type&semi; new types should customize `setCopyMoveState`, not `setMovedInto`&period;

== Synopsis

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

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

== Description

DEPRECATED&colon; Use `CopyMoveState&colon;&colon;set` instead&period;


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