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