News for hackers. Stuff that matters.
Re:Implementing Go's defer keyword in C++ by beached_whale on Saturday October 21, 2017 @08:49PM (#15524489)
You can use it for locks where std::lock_guard isn’t what you need, put the mutex.unlock in the scope_guard

There are no comments on this comment yet.