[#absl-c_move-0c] = xref:absl.adoc[absl]::c_move :relfileprefix: ../ :mrdocs: `c_move` overloads == Synopses Declared in `<absl/algorithm/container.h>` Container‐based version of the <algorithm> `std::move()` function to move a container's elements into an iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename OutputIterator> constexpr /* implementation-defined */ xref:absl/c_move-03.adoc[c_move]( C&& src, OutputIterator&& dest); ---- [.small]#xref:absl/c_move-03.adoc[_» more..._]# Moves elements from `src` to `dest`. `absl::c_move(src, dest)` is equivalent to `std::move(std::begin(src), std::end(src), std::begin(dest))`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename OutputRange> constexpr /* implementation-defined */ xref:absl/c_move-00.adoc[c_move]( C&& src, OutputRange&& dest); ---- [.small]#xref:absl/c_move-00.adoc[_» more..._]# == Return Value * An iterator to the end of the moved range in the destination. * This overload returns no value; the results are written into `dest`. == Parameters [cols="1,4"] |=== | Name| Description | *src* | The container whose elements to move. | *dest* | The output iterator receiving the moved elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#