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

YouTube

Back to Basics: Lifetime Management in C++ - Lecture

CppCon via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This conference talk from CppCon 2024 explores lifetime management in C++, covering the complexities and powerful features of memory management in the language. Learn about the Rule of 0 and Rule of 5 principles that guide when to implement Special Member Functions (constructors, destructors, and assignment operators). Discover how to categorize different types of C++ objects and understand when custom memory management is necessary. Phil Nash, the original author of the Catch2 testing framework and C++ standards committee member, explains how to leverage standard library vocabulary types to simplify code and avoid common memory management pitfalls. Gain practical insights into managing object lifetimes effectively in modern C++ through this 53-minute presentation that helps both beginners and experienced developers make sense of C++'s lifetime management system.

Syllabus

Back to Basics: Lifetime Management in Cpp - Phil Nash - CppCon 2024

Taught by

CppCon

Reviews

Start your review of Back to Basics: Lifetime Management in C++ - Lecture

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.