CppCon 2020 has ended
Thursday, September 17 • 13:30 - 14:30
Back to Basics: Move Semantics

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Move semantics was one of the many powerful additions to C++11, solving several classes of programming problems that had vexed C++ developers for years. But move semantics can be easily misused, and the details are sometimes tricky to get right. This back-to-basics session will give you a solid foundation in move semantics, covering rvalue references, std::move, move constructors, and move assignment operators. More importantly, it will present a set of clear guidelines for when and how to use these tools, and describe some situations where move semantics are most useful. This session will be helpful both for those who are still learning how to write solid, robust C++ code, and for those who already know everything about move semantics and would like a refresher. Attendees will leave this session having learned, among other things, how to read code sprinkled with calls to std::move and how to write classes that behave correctly and efficiently when moved.

avatar for David Olsen

David Olsen

Software engineer, NVIDIA
David Olsen has more than two decades of software development experience in a variety of programming languages and development environments. For the last seven years he has been the lead engineer for the NVIDIA HPC C++ compiler, focusing on running standard parallel algorithms on... Read More →

Thursday September 17, 2020 13:30 - 14:30 MDT
Back to Basics
  Back to Basics