[#BloombergLP-bsltf-getMovedFrom-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::getMovedFrom
:relfileprefix: ../../
:mrdocs:

Return the moved&hyphen;from state of the specified `object`&period;

== Synopsis

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

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

== Description

The default implementation of this ADL customization point calls `CopyMoveState&colon;&colon;get` and translates the result into the corresponding `MoveState&colon;&colon;Enum` (which has been deprecated)&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 `copyMoveState`, not `getMovedFrom`&period;

DEPRECATED&colon; Use `CopyMoveState&colon;&colon;isMovedFrom` or `CopyMoveState&colon;&colon;get`&period;

== Return Value

moved&hyphen;from state of `object`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| object whose moved&hyphen;from state is requested
|===


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