News for hackers. Stuff that matters.
Re:In the C++ bag of tricks: scoped locks by JoeAltmaier on Friday February 07, 2014 @12:15PM (#7197374)
Works, but requires {} for scope. The local-object version can be scoped however you like. It optimizes away just fine, similar to the for loop.

There are no comments on this comment yet.