Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1745827
  • 博文数量: 335
  • 博客积分: 4690
  • 博客等级: 上校
  • 技术积分: 4341
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-08 21:38
个人简介

无聊之人--除了技术,还是技术,你懂得

文章分类

全部博文(335)

文章存档

2016年(29)

2015年(18)

2014年(7)

2013年(86)

2012年(90)

2011年(105)

分类: C/C++

2011-04-20 21:08:32

  1. An object is a named region of storage;
  2. an lvalue is an expression referring to an object.
  3. An obvious example of an lvalue expression is an identifier with suitable type and storage class.There are operators that yield lvalues, if E is an expression of pointer type,then *E is an lvalue expression referring to the object to which E points.The name "lvalue" comes from the assignments expression E1 = E2 in which the left operand E1 must be an lvalue expression.The discussion of each operator specifies whether it expects lvalue operands
  4. and whether it yields an lvalue
  5. 命名的存储区域即为对象;
  6. 左值为一个表达式,它引用一个对象。
  7. 左值一个比较明显的例子是具有类型和存储区域标识符。
  8. 运算符也能产生左值,如E是一个指针类型,那么 *E就是一个左值表达式,它引用E指向的对象。左值(Lvalue)的名字来源于赋值表达式:E1 = E2,其中左边的操作数E1必须是一个左值表达式。对运算符的具体讨论会详细说明该运算符是期望一个左值操作数还是该运算符产生一个左值表达式
阅读(1985) | 评论(0) | 转发(0) |
0

上一篇:strlen实现--k&R

下一篇:Qt的bug?

给主人留下些什么吧!~~