News for hackers. Stuff that matters.
Re:In the C++ bag of tricks: scoped locks by taway2012 on Friday February 07, 2014 @12:50PM (#7197599)
Don't do this. The whole thing gave off a bad smell on first reading so I would never have done this.

Thank you vinkelhake for nailing the the real problem (exceptions) and bothering to check whether the stack overhead really exists.

Just wanted to chime in with a comment because HN doesn't show vote counts, so future readers will "see" my upvote on vinkelhake's comment.

There are no comments on this comment yet.