An (In-)Complete Guide to C++ Object Lifetimes
Offered By: ACCU Conference via YouTube
Course Description
Overview
Dive deep into the intricacies of C++ object lifetimes in this comprehensive conference talk from ACCU 2024. Explore when objects are created and destroyed, the nuances of temporary lifetime extension, and the implications of manipulating memory with std::malloc and mmap(). Examine the interactions between unions, constructors, and strict aliasing, as well as the complexities of explicitly calling destructors and reusing storage. Gain insights into std::launder, std::bit_cast, and std::start_lifetime_as. Learn through an analysis of the C++ standard, recent proposals, and compiler optimizations. Presented by Jonathan Müller, a library developer at think-cell and active contributor to C++ open-source projects and standardization efforts.
Syllabus
An (In-)Complete Guide to C++ Object Lifetimes - Jonathan Müller - ACCU 2024
Taught by
ACCU Conference
Related Courses
Computer GraphicsUniversity of California, San Diego via edX Intro to Parallel Programming
Nvidia via Udacity Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera