cpp2 std::forward
Returns an rvalue reference to arg if arg is not an lvalue reference.
If arg is an lvalue reference, the function returns arg without modifying its type.
如果参数不是一个左值,返回一个右值引用
如果是左值,还返回左值引用
Returns an rvalue reference to arg if arg is not an lvalue reference.
If arg is an lvalue reference, the function returns arg without modifying its type.
如果参数不是一个左值,返回一个右值引用
如果是左值,还返回左值引用