Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Show:
© 2015 Microsoft