C++ lvalues, rvalues, glvalues, xvalues, making you leave the party?

No need. Please read this first.

“New” Value Terminology (Bjarne Stroustrup)

The most priceless gem in there (at least for me):

Dennis Ritchie used “lvalue” to describe C (e.g. see [K&R,1978]), but left out “rvalue”, considering “lvalue” and “not lvalue” sufficient.

Stroke of a genius, in it’s true form.

ps: if you are of a less abstract disposition, please consider this article. One of the better explanations on the subject.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.