3 ms·
> I have a hard time seeing in what case you would want to throw in a destructor though? Maybe I'm just writing a different kind of code :) I can't imagine tha
by TeMPOraL 7y ago
> I have a hard time seeing in what case you would want to throw in a destructor though? Maybe I'm just writing a different kind of code :)
I can't imagine that case either - but what I can imagine is that your destructor calls a function that calls a function ... that calls a function you didn't realize can throw.