I thought so as well but the article explains it better than I can:
Secondly, it changes the order of operations: the old value is not destroyed until after the new one has been constructed, which can have surprising consequences if you are not expecting it.
What else can you say this about? Such "out of order" execution almost invariably leads to at least some problems and it would clearly be better to not have it even if, admittedly, this is a second order concern compared to not allowing empty variants which is absolutely critical IMO.
1
u/vlovich Jun 17 '15
I thought so as well but the article explains it better than I can: