Josuttis Move Semantics  C++ Move Semantics - The Complete Guide

First draft available now:

Cover C++ Move Semantics

C++ Move Semantics - The Complete Guide

by Nicolai M. Josuttis

  • Giving guidance on how to use Language and Library Features of Move Semantics
  • For programmers, who want understand and benefit from one of the most important features of Modern C++

Buy early, pay less, free updates

This book was written and published incrementally (step-by-step) at leanpub,
so that you can benefit from it without waiting until all is done.
The first version was available since January, 2020.
You could buy the ebook for a reduced price and get all ebook updates for free.


Move semantics, introduced with C++11, has become a hallmark of modern C++ programming. However, it also complicates the language in many ways. Even after several years of support of move semantics experienced programmers struggle with all the details of move semantics. And style guides still don't recommend the right consequences for programming even of trivial classes.

Time to explain all aspectes of move semantics in detail.

This book teaches move semantics. Starting from the basic principles it motivates and explains all the aspects, corner cases, and traps of move semantics so that you as a programmer can use move semantics right. The book is valuable for those that are beginning to learn about move semantics and is essential for those that are using it already.

You will learn:

  • Motivation and terminology of move semantics
  • How and why you implicitly benefit from move semantics
  • How to explicitly benefit from move semantics
  • All traps and how to deal with them
  • All consequences for your programming style

As usual for books by Nicolai Josuttis, the focus lies on the application of the new features in practice. Compelling examples and useful background information help to understand and improve code from trivial classes up to generic foundation libraries and frameworks.

Nicolai M. Josuttis is well known in the programming community for his authoritative books and talks. For more than 20 years he is a member of the C++ Standard Committee. He is the (co-)author of several worldwide best-sellers, including


The book is not yet available as printed book:
Nicolai M. Josuttis
C++ Move Semantics- The Complete Guide

Table of Content:

(green features already covered):

Basic Features of Move Semantics:

Move Semantics in Generic Code:

Move Semantics in the C++ Standard Library :

Note that you can also book inhouse trainings about all topics of Modern C++ and C++17 (both the language and its standard library) .

Copyright 2020 by Nicolai M. Josuttis
Impressum    Datenschutzerklärung