
C++ Move Semantics - The Complete Guide
by Nicolai M. Josuttis · first published 2020
2mentions
1recommended by
2HN commenters
2021–2024first – last mentioned
50% recommend50% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
…(that is if it can't move an object and there is not restriction mechanism in a constructor) - it will be used as a copy constructor which is expensive. I will advice you to read Nicolai Josuttis' " C++ Move Semantics - The Complete Guide" [1] which describes in great detail all the tips and tricks around move semantics. P.S.: For any C++ developer out there, in my humble opinion anything written by Nicolai Josuttis is a must-read! [1]…
on “Is the C++ && constructor downside temporary?” ↗Gotcha covered: someone wrote a 264-page book about C++ move semantics. https://www.amazon.com/Move-Semantics-Complete-Guide-First/d...
on “What's new in C++26 (part 1)” ↗