Explore the intricacies of C++ move semantics in this comprehensive conference talk from CppCon 2022. Gain a solid understanding of this complex topic through a unique approach that demystifies common myths. Learn why move operations should be noexcept, how to write efficient move constructors and move assignment operators, and when to use std::move versus std::forward. Delve into the concept of moved-from objects and their proper usage. Discover how to optimize performance with ref-qualifiers. By the end of this 1-hour presentation, acquire the knowledge needed to write competitive, high-performance C++ code leveraging move semantics effectively.
Overview
Syllabus
Back to Basics: C++ Move Semantics - Andreas Fertig - CppCon 2022
Taught by
CppCon