Language

C++ Move Semantics



BitsOfQ

A Bits of Q advanced tutorial on move semantics in C++.

— TIMESTAMPS —
00:00 – Introduction
00:28 – The cost of copying
04:47 – Moving vs Copying
05:48 – lvalues and rvalues
09:33 – lvalue and rvalue references
11:12 – When is data moved?
11:49 – Making your classes movable
15:58 – std::move and move operations in practice
21:11 – Summary

More in depth information on move semantics: https://youtu.be/St0MNEU5b0o
and part 2:
https://youtu.be/pIzaZbKUw2s

Outro music by lesfm from pixabay.

If you have any questions or feedback, just leave a comment below.

See you next time!