
C++ Move Semantics - The Complete Guide
Nicolai M. Josuttis · 2020
Programming and computer science › C and C++
#12,521 most recommended
Hacker News
2
mentions by 2 people · top 79% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
About the book
The book covers move semantics in C++, the language feature from C++11 that lets objects transfer their resources instead of copying them. Its scope includes rvalue references, std::move, perfect forwarding, copy elision, and the special member functions that control moving, with coverage running through later standard versions up to C++20. The central claim is that move semantics can only be used correctly when the programmer understands value categories, what a moved-from object is left holding, and when the compiler moves automatically. The book treats moving as a precise operation with defined effects rather than a loose optimization, and it works through common misconceptions, such as the idea that std::move performs a move by itself. It also argues for designing types so that the compiler-generated special members handle resource management correctly.
Written by Claude from what it knows of this book.
What Hacker News says 50% recommend · 0% critical
In the commenters’ own words
The problem with move semantics is that people don't understand its fallback mechanism, - (that is if it can't move an object and there is not restriction…
Gotcha covered: someone wrote a 264-page book about C++ move semantics. https://www.amazon.com/Move-Semantics-Complete-Guide-First/d...
What Open Library readers say
No Open Library reader has rated it yet.
- 1 want to read
- 0 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
Details
- First published
- 2020
- ISBN
- 9783967309003
- Editions known
- 2 at Open Library
- Open Library
- OL26249946W
Read next: its neighbours on the mosaic
Compiler design in CAllen I. Holub · 1990 · recommended by 11 people · loosely similar by subject
Inside the C⁺⁺ object modelStanley B. Lippman · 1996 · recommended by 7 people · similar by subject and what people say about it
Writing An Interpreter In GoThorsten Ball · 2018 · recommended by 73 people · loosely similar by subject
C Concurrency in ActionAnthony Williams · 2012 · recommended by 14 people · loosely similar by subject
The C++ standard libraryNicolai M. Josuttis · 1999 · recommended by 9 people · loosely similar by subject
Modern C++ DesignAndrei Alexandrescu · 2001 · recommended by 29 people · loosely similar by subject
The design and evolution of C[plus plus]Bjarne Stroustrup · 1994 · recommended by 38 people · loosely similar by subject
The annotated C++ reference manualMargaret A. Ellis · 1990 · recommended by 2 people · loosely similar by subject
Modern CJens Gustedt · 2019 · recommended by 37 people · loosely similar by subject
C interfaces and implementationsDavid R. Hanson · 1996 · recommended by 46 people · loosely similar by subject
Effective Modern C++Scott Meyers · 2014 · recommended by 63 people · loosely similar by subject
Taligent's Guide to Designing ProgramsInc Taligent · 1994 · recommended by 1 person · loosely similar by subject
Modern compiler implementation in CAndrew W. Appel · 2004 · recommended by 8 people · loosely similar by subject
C++ PrimerStanley B. Lippman · 1989 · recommended by 53 people · loosely similar by subject
Rust Atomics and LocksMara Bos · 2022 · recommended by 18 people · loosely similar by subject
More Effective C++Scott Meyers · 1995 · recommended by 7 people · loosely similar by subject
Linkers and loadersJohn R. Levine · 1999 · recommended by 29 people · loosely similar by subject
Advanced compiler design and implementationSteven S. Muchnick · 1997 · recommended by 13 people · loosely similar by subject
Advanced C₊₊ programming styles and idiomsJames O. Coplien · 1992 · recommended by 4 people · loosely similar by subject
Memory as a programming concept in C and C++F. Franěk · 2004 · recommended by 4 people · loosely similar by subject
C Traps and PitfallsAndrew Koenig · 1989 · recommended by 19 people · loosely similar by subject
Thinking in C++Bruce Eckel · 1995 · recommended by 11 people · loosely similar by subject
Modern C[plus plus] designAndrei Alexandrescu · 2000 · recommended by 1 person · loosely similar by subject
Ruminations on C++Andrew Koenig · 1996 · recommended by 3 people · loosely similar by subject