Skip to content

Comment on In the C++ bag of tricks: scoped locksparent

Comments

Does it use the STL? The STL will throw. Does it use the new operator? new will throw unless you specifically tell it not to.

Ok, should've been more specific -- it doesn't catch any exceptions and lets them bring down the program and have the project maintainer check what they did wrong.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.