4 ms·
And for those super-rare cases where it's appropriate to crash / fail hard in a constructor but you still have requirements about reporting or even recovery...
by addaon 5y ago
And for those super-rare cases where it's appropriate to crash / fail hard in a constructor but you still have requirements about reporting or even recovery... setjmp/longjmp still exist.
- ncmncm 5y agoYou have always had the choice available to do something overwhelmingly worse than throwing. That is not a reason to do it.