top | item 45855270 (no title) rustacean | 3 months ago In Rust, there’s a drop guard pattern to do this, which leverages the lazy execution of closure, checkout the scopeguard crate. C++ should be easy to do that too I think discuss order hn newest No comments yet.
No comments yet.