Comment Comment by ill0gicity This is one I put together a while back for gcc and clang: https://github.com/jeffwalter/defer/. There's no limit to the number of defers you can have. At least not one I've run into. parent ill0gicity 6 years ago