Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

move

Returns the passed in argument as an rvalue reference.

template<class Type>
    typename remove_reference<T>::type&&
        move(Type&& _Arg);

Parameter

Description

_Arg

The parameter to move.

This template function returns _Arg as an rvalue reference, whether or not Type is a reference type.

move makes the returned argument suitable for moving.

Header: <utility>

Namespace: std

Community Additions

Show:
© 2015 Microsoft