3 ms·Result typesby the_gipsy 5y agoResult typeskgeist 5y agoDefer is used to automatically release resources on function exit, I'm not sure how result types will help here. Can you give an example?the_gipsy 5y agoIt's an alternative to try...finally or RAII.deleted 5y ago[deleted]