<C/C++> 左值和右值, L-value和R-value
摘要:
一直以为左值是可以出现在赋值表达式左边(the left side of an assignment expression)的值,Left-value;右值即Right-value.今天看到一个说法,觉得有点味道:L-value中的L指的是Location,表示可寻址. The "l" in lvalue can be thoughtof as location.R-value中的R指的是Read,表示可读. The "r" in rvalue can be thought of as "read" value.为了寻找lvalue术 阅读全文
posted @ 2012-09-02 17:22 Mr.DejaVu 阅读(3823) 评论(3) 推荐(5) 编辑