5 ms·
> Lvalue stands for locator value. Wait, I thought it was for a value that could appear on the "left" hand side of an expression…
by saagarjha 7y ago
> Lvalue stands for locator value.
Wait, I thought it was for a value that could appear on the "left" hand side of an expression…
- IshKebab 7y agoIt is.
- tempodox 7y agoThat would make the term “modifiable lvalue” pointless. You can look it up in the standard.
- IshKebab 7y agoWhy? It is definitely from "left" (and rvalue is from "right"). It's pretty obvious. If you need proof you can look it up in the standard: https://stackoverflow.com/a/15765936/265521 https://stackoverflow.com/a/15765936/265521
- tempodox 7y agoThe C99 standard draft (n1256) says about “lvalue”, on p. 46: It is perhaps better considered as representing an object ‘‘locator value’’. http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf