Partager via


Move Function

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Move Function.

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

Syntax

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

Parameters

T
The type of the argument.

arg
An argument to move.

Return Value

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

Remarks

Moves the specified argument from one location to another.

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

Requirements

Header: internal.h

Namespace: Microsoft::WRL::Details

See Also

Microsoft::WRL::Details Namespace