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/
93
Upvotes
r/cpp • u/stanimirov • Jul 04 '18
View all comments
Show parent comment
4
u/quicknir Jul 04 '18
Well, you could have a noexcept move, if you had no small buffer optimization at all. But that would be pretty brutal, that optimization is very important. And in fact, as it stands it is mandatory in certain cases.