c++中的左值与右值
摘要:++(a++) a++相当于int a;{int temp=a;a++;teturn temp;}所以我们可以将++(a++)看成++temp;而temp显然是一个右值,所以不能用啊~~ L-value中的L指的是Location,表示可寻址。The "l" in lvalue can be tho...
阅读全文
posted @ 2014-09-14 22:19
posted @ 2014-09-14 22:19
posted @ 2014-09-14 19:58
posted @ 2014-09-11 15:32
posted @ 2014-09-11 14:39