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
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.