What are rvalues, lvalues, xvalues, glvalues, and prvalues? (errors) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What are rvalues, lvalues, xvalues, glvalues, and prvalues? (errors)

Hope I shed some light on the problem!

18th May 2019, 4:09 PM
Mustapha CHAKIRI
Mustapha CHAKIRI - avatar
10 Answers
+ 8
maybe C++ Soldier (Babak) can help on this
18th May 2019, 7:54 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 7
Would anyone make a summary on those *creepy* stuffs, hopefully in a form a noob may understand? I get nauseated by reading that SO thread 😁 But never mind if it means a hassle 👍
18th May 2019, 7:41 PM
Ipang
+ 6
if ~ swim ~ say they are tricky damn, it must be really creepy
18th May 2019, 5:19 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 6
Darn it! This is an upper advanced topic even for advanced folks, that's for sure. Ipang know what I mean since in some point we discussed and shared some info about that nasty 'W' that Stroustrup and colleagues came up with and published a rather technical paper about that. Anyhow! I think the most important of them to get comfortable with first, are lvalue and rvalue which have different meaning in C and C++. After that, the rest are C++-specific and take a bit more time to absorb the true essence of them. For those two guys you'd probably wanna check this out and take some note. https://eli.thegreenplace.net/2011/12/15/understanding-lvalues-and-rvalues-in-c-and-c/
19th May 2019, 5:00 AM
Babak
Babak - avatar
+ 6
*AsterisK* I can't blame anybody because they can't understand the concept easily except uncle Bjarne to bring us such hard-to-grasp set of XXvalues! Though, he wasn't alone in the process of decision making!
19th May 2019, 11:24 AM
Babak
Babak - avatar
+ 5
C++ Soldier (Babak) , ~ swim ~ Thank you brothers, so much 👍
19th May 2019, 7:36 AM
Ipang
+ 5
thanks C++ Soldier (Babak) i know you will give us something good, but still really complicated 😁😁😁😁
19th May 2019, 9:12 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 3
I see that in StackOver, but im not understand this flags . I have some errors after completing my code like that.
18th May 2019, 7:03 PM
Mustapha CHAKIRI
Mustapha CHAKIRI - avatar
+ 2
thank you so much. you answer me for all my questions 👍
18th May 2019, 7:05 PM
Mustapha CHAKIRI
Mustapha CHAKIRI - avatar
+ 2
Thank you ~swim~
18th May 2019, 7:20 PM
Mustapha CHAKIRI
Mustapha CHAKIRI - avatar