C++ has scope_exit for running code at scope exit | Hacker News Reader