Cast a value to an rvalue reference to enable moving from it.
Synopsis
Declared in <absl/utility/utility.h>
template<class T>
[[deprecated("Use std::move instead."), nodiscard]]
constexpr
std::remove_reference_t<T>&&
move(T&& arg) noexcept;
|
Warning
|
Deprecated: Use std::move instead.. Use of this entity is allowed but discouraged. |
Return Value
An rvalue reference to arg.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
arg |
The value to cast. |
Created with MrDocs