|
Boost : |
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-09-25 18:04:54
Gennadiy Rozental wrote:
[...]
> 1. Does SEH is an async exception?
No.
> 2. Does SEH always signal nonrecoverable error?
Only when a signaled error is unexpected. In this respect there is no
difference whatsoever with respect to SEH and "native" C++ exceptions.
> 3. What is wrong in catching?
Nothing is wrong... as long as it is expected (and you can "recover",
whatever that means).
> At least with the purpose of reporting and
> invoking usual shutdown mechanisms
Core dump ("user dump") is the best report (JITD aside for a moment).
> 4. How the technique described in Dave A. article helps to resolve a problem
> discussed in items 3?
Dave A. should better fix the C++ std instead of hacking with MS SEH.
> 5. What would be an ideal behavior?
A) WG21 mandates 2-phase EH
-and-
B) MS translates SEH to C++ exceptions "by default" (in C++ appls).
regards,
alexander.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk