Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.15 KB

File metadata and controls

54 lines (38 loc) · 1.15 KB
title Move Function | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-windows
ms.topic reference
f1_keywords
internal/Microsoft::WRL::Details::Move
dev_langs
C++
helpviewer_keywords
Move function
ms.assetid c9525426-97e8-4d8c-9877-b689d8a0dc67
author mikeblome
ms.author mblome
ms.workload
cplusplus
uwp

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