The C++ Rvalue Lifetime Disaster
Offered By: CppNow via YouTube
Course Description
Overview
Explore the intricacies and pitfalls of rvalue references in C++ through this conference talk from CppNow 2021. Delve into the original purpose of rvalue references for efficient object moving and their use in the C++ standard library. Examine how the language itself violates assumptions about rvalue reference lifetimes, leading to potential memory corruption issues. Learn about problematic scenarios involving const& bindings and temporary lifetime extension. Discover a library-only approach to mitigate these problems and consider a proposal for addressing these issues at the language level. Gain insights from Arno Schödl, an experienced software architect, as he shares real-world examples and solutions to these complex C++ challenges.
Syllabus
The C++ Rvalue Lifetime Disaster - Arno Schödl - [CppNow 2021]
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube