move

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.
0 out of 1 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.