r/cpp • u/stanimirov • Jul 04 '18
Be Mindful with Compiler-Generated Move Constructors
https://ibob.github.io/blog/2018/07/03/compiler-generated-move/
89
Upvotes
r/cpp • u/stanimirov • Jul 04 '18
View all comments
Show parent comment
5
u/alfps Jul 04 '18
So that, with C++11, existing code could automatically benefit from move semantics as optimization.
It was IMHO A Really Dumb™ decision.