Move Function

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Supports the WRL infrastructure and is not intended to be used directly from your code.

template<  
   class T  
>  
inline typename RemoveReference<T>::Type&& Move(  
   _Inout_ T&& arg  
);  

Parameters

T
The type of the argument.

arg
An argument to move.

Parameter arg after reference or rvalue-reference traits, if any, have been removed.

Moves the specified argument from one location to another.

For more information, see the Move Semantics section of Rvalue Reference Declarator: &&.

Header: internal.h

Namespace: Microsoft::WRL::Details

Microsoft::WRL::Details Namespace

Show: