Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2007-03-26 01:32:07


Howard Hinnant wrote:
[...]
> got a problem there. Indeed maybe even a bigger one: fclose is
> allowed to throw! :-\

That just means that you'd either have to deal with it (disable cancel
at places where you don't want it to throw, or catch and self-re-cancel,
or whatever) or just declare your code cancel unsafe (your clients will
either disable cancel or simply won't cancel at all) and be done with
it. Given that the later is the current state of affairs in today's
(p)thread/C++ world, what the heck is the problem?

regards,
alexander.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk