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

`move` overloads

== Synopses

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

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


[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;&&
xref:absl/move-01.adoc[move](T&& arg) noexcept;
----

[.small]#xref:absl/move-01.adoc[_» more&period;&period;&period;_]#

Move a range of elements into an output iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class It,
    class OutIt&gt;
&lsqb;&lsqb;deprecated(&quot;Use std&colon;&colon;move instead&period;&quot;)&rsqb;&rsqb;
constexpr
OutIt
xref:absl/move-06.adoc[move](
    It&& begin,
    It&& end,
    OutIt&& output);
----

[.small]#xref:absl/move-06.adoc[_» more&period;&period;&period;_]#

[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;
* An iterator past the last moved element&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg*
| The value to cast&period;
| *begin*
| The start of the input range&period;
| *end*
| The end of the input range&period;
| *output*
| The start of the destination range&period;
|===


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