r/cpp • • Jul 04 '18

Be Mindful with Compiler-Generated Move Constructors

https://ibob.github.io/blog/2018/07/03/compiler-generated-move/
91 Upvotes

46 comments sorted by

View all comments

Show parent comment

1

u/spinicist Jul 05 '18

Me too. Please please please let it be accepted!

2

u/meneldal2 Jul 05 '18

Well contracts are in, and I believe some compilers will allow terminate on contract violations, so that should be good in 2020. The allocation failure case, I bet there will be a switch for it before it makes it into the IS if people are eager for it.