Examples of rvalue, lvalues, xvalues, glvalues, and prvalues?

209 Views Asked by At

This post What are rvalues, lvalues, xvalues, glvalues, and prvalues? provides the definitions of rvalue, lvalues, xvalues, glvalues, and prvalues, but I don't see examples.

I think I have a solid understanding of lvalues and rvalues, but not so much of xvalues, glvalues, and prvalues. Examples (code) of each and their differentiation would really help.

0

There are 0 best solutions below