PHIL NASH - Mastering the Special Member Functions : The Rules of 0 to 5 and Beyond
Автор: cppunderthesea
Загружено: 2026-02-02
Просмотров: 48
Описание:
[C++ Under the Sea 2024 conference]
https://cppunderthesea.nl/
11th of October 2024
Video recording sponsored by think-cell: https://www.think-cell.com
[Mastering the Special Member Functions : The Rules of 0 to 5 and Beyond]
Lifetime management in C++ offers flexibility and power, but it comes with significant complexity, especially as the language has evolved. The Rules of 0 and 5 are essential for managing this complexity. Ideally, your types should require no Special Member Functions (like destructors, copy/move constructors, or assignment operators). However, if you do need one, you’ll likely need all five, and knowing how to implement them correctly can be challenging. Understanding the type you’re working with is crucial, so we’ll break down the common categories.
Come with us on a journey through these rules, type categories and behaviours and start to make sense of lifetimes in modern C++.
[Phil Nash]
Phil is the original author of the C++ test framework, Catch2 and is an independent consultant and trainer, specialising in TDD and Modern C++. Formerly Developer Advocate at Sonar and JetBrains, he has had a career that spans finance, mobile and software security. He’s also a member of the ISO C++ standards committee, organiser of C++ London and C++ on Sea, as well as co-host and producer of CppCast.
[Social media]
/ cpp-under-the-sea
https://x.com/cppunderthesea
[Tags]
#cpp #cplusplus #cppprogramming #cppunderthesea #lifetime #ruleof0 #ruleof5 #types #typecategories #moderncpp
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: