The moderators removed this post for understandable reasons: https://old.reddit.com/r/cpp/comments/1t9792i/ziglike_defer_for_c20_and_above/
But underneath it was a great discussion about the broader defer idea in C++. I'd love to have that conversation.
What do you use for this behavior in your code? What are the pros and cons of the choice you made?
[link] [comments]












English (US) ·