【发布时间】:2011-07-15 22:56:16
【问题描述】:
可能重复:
What are rvalues, lvalues, xvalues, glvalues, and prvalues?
The standard states:
3.2 The this pointer
1 In the body of a non-static (9.3) member function,
the keyword this is a non-lvalue expression whose value is the address of the
object for which the function is called.
右值、左值、非右值、非左值有什么区别?
这种*值有多少种类型?我的意思是我也听说过 xvalues。
需要非常了解这一点。这些与临时变量和 lambda 有什么关系?
对不起,如果我听起来重复、困惑、矛盾和多余。
【问题讨论】:
标签: c++ c++11 expression rvalue lvalue