Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-10-02 05:29:38


Alan.Griffiths_at_[hidden] wrote:
[...]
> You argue the converse but have failed to demonstrate either the
> desirability or feasibility of treating SEH exceptions as CEH exceptions to
> anyones satisfaction.

Again, there's no magic in SEH whatsover. Continuations aside for a
moment they are simply "C exceptions".

http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51_HTML/ARH9RBTE/DOCU0009.HTM#excep_langs

"You can use the C language exception handling mechanism (SEH) to
 catch exceptions. You can catch exceptions in C++ using catch(...),
 and propagation of exceptions will run C++ object destructors.
 Currently, C++ code cannot catch specific exceptions. Also, CATCH,
 CATCH_ALL and FINALLY clauses will not run when C++ code raises an
 exception. (These restrictions will be reduced or removed in a
 future release.)"

> Dave et al. have repeatedly explained the issues with
> it - and make sense.

Nope.

>
> The problem is not the C++ standard; it is that is that catch (...)

Don't get me started on this, please.

regards,
alexander.


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