今天碰到了一个问题请教了一下CSDN的各位大神,大家都提出了左值右值的问题,以前也接触过,但是不是很深入,今天查找的时候才找到,原来真相是:
L-value中的L指的是Location,表示可寻址。The "l" in lvalue can be though of as location
R-value中的R指的是Read,表示可读。The "r" in rvalue can be thought of as "read" value.今天碰到了一个问题请教了一下CSDN的各位大神,大家都提出了左值右值的问题,以前也接触过,但是不是很深入,今天查找的时候才找到,原来真相是:
L-value中的L指的是Location,表示可寻址。The "l" in lvalue can be though of as location
R-value中的R指的是Read,表示可读。The "r" in rvalue can be thought of as "read" value.