可能重複:
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。
需要了解這一點。這些與臨時和lambdas有什麼關係?
對不起,如果我聽起來重複,困惑,矛盾和多餘。
重複http://stackoverflow.com/questions/3601602/what-are-rvalues-lvalues-xvalues-glvalues-and-prvalues – 2011-03-15 16:43:44