Share via


Move Function

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.

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

Reference

Microsoft::WRL::Details Namespace