r/cpp • u/pavel_v • Apr 02 '26
What happens when a destructor throws
https://www.sandordargo.com/blog/2026/04/01/when-a-destructor-throws
102
Upvotes
r/cpp • u/pavel_v • Apr 02 '26
View all comments
2
u/fluorihammastahna Apr 02 '26
Hm, is it me or the article didn't get the point all the way to the end? I mean, why is it bad in practice?
If I get it correctly, it's because it cannot be caught, and it will also make other exceptions uncatchable. Is this it?