Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The C++ Rvalue Lifetime Disaster

CppNow via YouTube

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

Reviews

Start your review of The C++ Rvalue Lifetime Disaster

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.