[#absl-move-01]
= xref:absl.adoc[absl]::move
:relfileprefix: ../
:mrdocs:

Cast a value to an rvalue reference to enable moving from it&period;

== Synopsis

Declared in `&lt;absl&sol;utility&sol;utility&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
&lsqb;&lsqb;deprecated(&quot;Use std&colon;&colon;move instead&period;&quot;), nodiscard&rsqb;&rsqb;
constexpr
std::remove&lowbar;reference&lowbar;t&lt;T&gt;&&
move(T&& arg) noexcept;
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use std&colon;&colon;move instead&period;. Use of this entity is allowed but discouraged.
====
== Return Value

An rvalue reference to `arg`&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg*
| The value to cast&period;
|===


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