Re:A Defer Mechanism for C
by Thaxll on Monday December 14, 2020 @09:42AM
(#25418073)
Also defer runs even if your code panic which is great.
[ Parent
| on HN ]
... which is exactly how C++ RAII behaves when there is an exception ?