Klaus Iglberger presents part one of a two-part talk on move semantics in C++. He begins by outlining the intended audience, those new to move semantics and those already familiar, requesting the latter to allow beginners time to consider interactive questions. Klaus introduces himself as a C++ trainer, software engineer, author of the Blaze C++ Math Library, and organizer of the Munich C++ User Group. The talk covers the basics of move semantics, new special member functions, and parameter conventions, contrasting deep copies with move operations for efficiency. He explains L-values and R-values, the role of rvalue references, and the function of "move." Klaus discusses implementation details using a widget class example, covering move constructors, move assignment operators, the rule of zero and five, and the importance of "noexcept" for performance, and touches on core guidelines for move operations and parameter passing.
Sign in to continue reading, translating and more.
Continue