What are the rules for automatic generation of move operations?
Nikos Athanasiou gave a good answer but I wanted to add this tool that I think is very useful. Here is a screenshot of Howard Hinnant’s presentation “Everything You Ever Wanted To Know About Move Semantics (and then some)” from ACCU 2014 conference which I think is a very good reminder of the rules of … Read more