Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/149.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 表达式的类型是左值引用(例如,T&或constT&等),该表达式是左值。”他指的是调整前的类型,第二个词“左值”指的是值类别_C++_C++11_Reference_Language Lawyer_Value Categories - Fatal编程技术网

C++ 表达式的类型是左值引用(例如,T&或constT&等),该表达式是左值。”他指的是调整前的类型,第二个词“左值”指的是值类别

C++ 表达式的类型是左值引用(例如,T&或constT&等),该表达式是左值。”他指的是调整前的类型,第二个词“左值”指的是值类别,c++,c++11,reference,language-lawyer,value-categories,C++,C++11,Reference,Language Lawyer,Value Categories,我不能确定斯科特·梅耶斯写这篇文章时的意思,但这是唯一符合标准的词语解释,是的。如果你是一个典型的人,你会成为一个普遍的参考,因为你在解释事情时非常灵活。 int&& x 1 | void f(int&& x) { 2 | ... = x; 3 | ... = std::move(x); 4 | } & attribute-specifier-seqopt D1 && attribute-s

我不能确定斯科特·梅耶斯写这篇文章时的意思,但这是唯一符合标准的词语解释,是的。

如果你是一个典型的人,你会成为一个普遍的参考,因为你在解释事情时非常灵活。
int&& x
1 | void f(int&& x) {           
2 |     ... = x;               
3 |     ... = std::move(x);
4 | }
& attribute-specifier-seqopt D1 && attribute-specifier-seqopt D1