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
Show parent comment
3
u/fluorihammastahna Apr 02 '26
Ok, but this is what I mean: the article does not explain what is bad about std::terminate, a function provided by the standard library which has use cases. This is missing, in my opinion.