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
101
Upvotes
r/cpp • u/pavel_v • Apr 02 '26
View all comments
Show parent comment
3
u/dr-mrl Apr 02 '26
Saves a level of indentation if all your function does contains is a try-catch block