This exercise is as an investigation of move semantics especially in C++20 and later.
- C++ compiler supporting C++20
- CMake >= 3.5
- see ../README.md
Run the sample tool
$ <build-dir>/03-MoveSemantics/move_semantics
- Run the messages program
$ <build-dir>/03-MoveSemantics/messages
- cppreference.com: Move constructors
- cppreference.com: Move assignment operator
- C++ on Sea 2023: Special Member Functions in C++ - Kris van Rens
- CppCon 2023: Back to Basics: Forwarding References - How to Forward Parameters in Modern C++ - Mateusz Pusz
- CppCon 2022: Back to Basics: C++ Move Semantics - Andreas Fertig
- CppCon 2021: Back to Basics: Move Semantics - Nicolai Josuttis
- Inside Bloomberg 2016: Everything You Ever Wanted To Know About Move Semantics - Howard Hinnant