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/
87
Upvotes
r/cpp • u/stanimirov • Jul 04 '18
View all comments
Show parent comment
2
u/meneldal2 Jul 05 '18
Well the main part was making
noexceptthe default and having to explicitly puttryon every statement that might throw (which is easy to tell as the function will have to say it can throw).