[#absl-move-01] = xref:absl.adoc[absl]::move :relfileprefix: ../ :mrdocs: Cast a value to an rvalue reference to enable moving from it. == Synopsis Declared in `<absl/utility/utility.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class T> [[deprecated("Use std::move instead."), nodiscard]] constexpr std::remove_reference_t<T>&& move(T&& arg) noexcept; ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use std::move instead.. Use of this entity is allowed but discouraged. ==== == Return Value An rvalue reference to `arg`. [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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#