我想知道一个右值引用成员有什么用
class A { // ... // Is this one useful? Foo &&f; };
与左值参考成员相比,它有任何好处或缺点吗?什么是它的主要用途?
c++ rvalue-reference c++11
c++ ×1
c++11 ×1
rvalue-reference ×1