This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 00/12] remove some cleanups using a cleanup function
Andrew> How do you think this compares to your original patches? Any interest
Andrew> in this approach?
Tom> Yes, let's do this.
I happened to stumble across the message for commit
9bcb1f1630b05594fa86bfd017639cfcc966b11c today. It references
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4189.pdf
... which proposes a generic scope guard class along these lines.
So, now I wonder if we should just reuse that paper's contents, but in
the gdb namespace.
Tom