Completed
No Named Return Value Optimization
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
The C++ Rvalue Lifetime Disaster - Understanding and Mitigating Issues
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduction
- 2 Rvalue Lifetime
- 3 Named Return Value Optimization
- 4 No Named Return Value Optimization
- 5 A Special Case
- 6 Recommendations
- 7 Temporary Lifetime Extension
- 8 Generic Code
- 9 Lifetime Extension
- 10 Example
- 11 The problem
- 12 The solution
- 13 Declaration type
- 14 Autocrf
- 15 Autocrf const
- 16 Autocrf rvalue
- 17 Accessors
- 18 C
- 19 What C does
- 20 We made a mess
- 21 Warning
- 22 Requirements
- 23 Reference Binding
- 24 Trying it out
- 25 Impact on the standard library
- 26 Mitigations
- 27 Member Accessors
- 28 Conclusion