[#absl-c_move-0c]
= xref:absl.adoc[absl]::c&lowbar;move
:relfileprefix: ../
:mrdocs:

`c&lowbar;move` overloads

== Synopses

Declared in `&lt;absl&sol;algorithm&sol;container&period;h&gt;`

Container&hyphen;based version of the &lt;algorithm&gt; `std&colon;&colon;move()` function to move a container&apos;s elements into an iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename C,
    typename OutputIterator&gt;
constexpr
&sol;&ast; implementation-defined &ast;&sol;
xref:absl/c_move-03.adoc[c&lowbar;move](
    C&& src,
    OutputIterator&& dest);
----

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

Moves elements from `src` to `dest`&period; `absl&colon;&colon;c&lowbar;move(src, dest)` is equivalent to `std&colon;&colon;move(std&colon;&colon;begin(src), std&colon;&colon;end(src), std&colon;&colon;begin(dest))`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename C,
    typename OutputRange&gt;
constexpr
&sol;&ast; implementation-defined &ast;&sol;
xref:absl/c_move-00.adoc[c&lowbar;move](
    C&& src,
    OutputRange&& dest);
----

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

== Return Value

* An iterator to the end of the moved range in the destination&period;
* This overload returns no value&semi; the results are written into `dest`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *src*
| The container whose elements to move&period;
| *dest*
| The output iterator receiving the moved elements&period;
|===


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