Explore the complexities of implementing a simple C++ class with multiple string members in this 42-minute conference talk. Delve into the challenges of creating efficient and fast code for ordinary application programmers. Through live coding demonstrations, examine various implementation approaches, including constructors passing by value, reference, and perfect forwarding. Witness the progression from seemingly straightforward concepts to advanced C++ topics such as universal/forwarding references, enable_if, type traits, and concepts. Uncover surprising conclusions about move semantics in trivial C++ classes and gain valuable insights for optimizing your code.
Overview
Syllabus
The Nightmare of Move Semantics for Trivial C++ Classes - Nicolai Josuttis
Taught by
NDC Conferences