Become a C Plus Plus Developer:6. C++: Move Semantics
Posted by Superadmin on November 07 2019 05:03:01

C++: Move Semantics

 

 

Course details

Dive deeper into C++ with move semantics, a key component of C++ resource management. Move semantics allow you to optimize the transfer of data and reallocate memory without extra copy operations. In this course, Bill Weinman helps you understand rvalues (temporary values that are the key to move semantics); create move constructors and operations; and use the copy-and-swap idiom to "swap in" new data while destroying the old.

 

 

 

Introduction

Welcome 1m 9s

Exercise files 3m 37s

 

Concepts

What is move semantics? 2m 10s

Understanding lvalues and rvalues 1m 33s

 

Using Move Semantics

Using std::move 4m 55s

Creating a move constructor 5m 38s

Creating a move assignment operator 3m 33s

Using the copy-and-swap idiom 5m 41s

Further considerations 3m 30s

Goodbye 42s


01. Inntroduction



 
 
01. Welcome
02. Exercise files-417133



02. Concepts



 
 
03. What is move semantics
04. Understanding lvalues and rvalues



03. Using Move Semantics



 
 
 
 
05. Using std - -move
06. Creating a move constructor
07. Creating a move assignment operator
08. Using the copy-and-swap idiom
 
 
09. Further considerations
10. Goodbye