|
Boost : |
Subject: Re: [boost] [Thread] Win32 exception handling
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-11-25 19:40:40
Emil Dotchevski:
> So the question is what's better for boost::thread, to conform to the
> C++ standard -- which in the scenario I outlined and Dave had in mind
> can only be done using catch(...) -- or to leave conformance up to the
> compiler, meaning terminate() may not be called when it should, but
> assuming that that is a bug (which may not be the case, as Dave
> pointed out) you'll get a better error message.
This is a false dilemma. There is a third option: use catch(...) only when
the compiler doesn't call terminate() itself.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk