Dive deeper into C++ with move semantics, a technique for optimizing the transfer of data and reallocating memory without extra copy operations.
- Hi, I'm Bill Weinman, and welcome to C++ Move Semantics. The goal of this course is to show you how to understand move semantics in C++11, and to create move compliant classes in your C++ code. We'll start with a simple and clear discussion of the necessary concepts. I'll explain the important distinctions of lvalues and rvalues so you can understand how move semantics works and why it's important. I'll show you how to create a move constructor, and move assignment operator in your classes.
And finally I'll cover some important optimizations you can use to create reliable and efficient code that supports move semantics correctly. This course presumes you have a working knowledge of C++ including functions, classes, objects, and templates. If you need to brush up on your C++, please see my course C++ Essential Training, here on the lynda.com online training library. Understanding move semantics will help you create more efficient and reliable C++ classes.
So, let's get started with C++ Move Semantics.