Simplification of gl/prvalue
Explore the simplification of prvalue and glvalue expressions in C++17, focusing on how the updated definitions enhance copy elision and deferred temporary materialization. Understand when temporaries can be omitted and exceptions where they are still required.
We'll cover the following...
We'll cover the following...
Writing pr/gl value Expressions
To support Copy Elision, the authors of the proposal provided the updated definitions of glvalue and prvalue. From the Standard:
...
glvalue- Aglvalueis an expression whose evaluation computes the location of