3 ms·
Interesting stuff! I knew about lvalues and rvalues but I never knew about concepts like "glvalue" or "prvalue" or "xvalue" that the linked page talks about. I
by Night_Thastus 1y ago
Interesting stuff! I knew about lvalues and rvalues but I never knew about concepts like "glvalue" or "prvalue" or "xvalue" that the linked page talks about.
It makes sense that C++ avoids unnecessary copying or object creation whenever possible, that's pretty much C++'s M.O.