Rvalues redefined

6 years ago
ian $Q__4tgrnLN

https://akrzemi1.wordpress.com/2018/05/16/rvalues-redefined/

In this post we will explore what I consider the most significant language change in C++17. I call it the most significant because it changes the way you design your resource-managing types and how you think about initialization. It is often called “guaranteed copy elision”, but I will not use that name (except for this single time) because it does not reflect what this feature is. C++ has completely changed the meaning of rvalue (actually, prvalue).