[#BloombergLP-bsltf-ArgumentType-movedFrom]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/ArgumentType.adoc[ArgumentType]::movedFrom
:relfileprefix: ../../../
:mrdocs:

Return whether this object was the source of a move operation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bsltf/MoveState/Enum.adoc[MoveState::Enum]
movedFrom() const;
----

== Description

Return `MoveState&colon;&colon;e&lowbar;MOVED` if this object was the source of a move construction or move&hyphen;assignment operation, `MoveState&colon;&colon;e&lowbar;NOT&lowbar;MOVED` if it was not the source of a move operation, and `MoveState&colon;&colon;e&lowbar;UNKNOWN` if its copy&sol;move state is not known&period; Note that converting the result to `bool` will yield `true` if this object was moved from and `false` otherwise&period; Note also that the value returned by this accessor may change if this object is subsequently the target of an assignment&period;

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

== Return Value

`e&lowbar;MOVED`, `e&lowbar;NOT&lowbar;MOVED`, or `e&lowbar;UNKNOWN` for this object


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