Real life examples of xvalues, glvalues, and prvalues?

Viewed 5927

I was wondering if anyone could tell or explain some real life examples of xvalues, glvalues, and prvalues?. I have read a similar question :

What are rvalues, lvalues, xvalues, glvalues, and prvalues?

but I did not understand what everyone meant. Can anyone explain in what cases these values are important and when one should use them?

1 Answers
Related