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:
© 2014 Microsoft