- 论坛徽章:
- 2
|
本帖最后由 OwnWaterloo 于 2011-06-27 17:41 编辑
为了防止某秀逗君妖言惑众, 再次将相关条款贴在就近位置:
c99 6.3.2.1 Lvalues, arrays, and function designators
53 )
The name ‘‘lvalue’’ comes originally from the assignment expression E1 = E2,
in which the left operand E1 is required to be a (modifiable) lvalue.
It is perhaps better considered as representing an object ‘‘locator value’’.
What is sometimes called ‘‘rvalue’’ is in this International Standard described as the ‘‘value of an expression’’.
c89 6.2.2.1 Lvalues and function designators
31 )
The name ``lvalue'' comes originally from the assignment expression E1 = E2 ,
in which the left operand E1 must be a (modifiable) lvalue.
It is perhaps better considered as representing an object ``locator value.''
What is sometimes called ``rvalue'' is in this Standard described as the ``value of an expression.''
1. 没有 left-value 与 right-value
2. 也没有location-value
3. 只有 lvalue(locator value) 与 rvalue
4. 中文如何翻译? 这就见仁见智了。
左值/右值? 还是 位置值/表达式值? |
|