[boost] Re: Re: boost::execution_monitor impl under windows
by Carl Daniel other posts by this author
Sep 21 2003 2:01PM messages near this date
[boost] Re: boost::execution_monitor impl under windows
|
RE: [boost] Re: boost::execution_monitor impl under windows
carlos pizano wrote:
> That helps. So if you where to "throw" inside a translator, what
> happens after that is not what you would think it should happen, that
> is, proper stack unwinding at each nested level, but something more
> along the lines
> of random behavior.
>
> I wonder why VC does generate just a warning (level 4) about this and
> not an error...
Under the next release of VC ("Whidbey"), VC will no longer catch SE's with
catch(...) when compiled with /EHs.
>
> Reading David Abrahams' Guidelines at
> http://www.boost.org/more/error_handling.html
>
> Seems that a better execution_monitor will nicely complement them.
> That
> is, if you subscribe to the camp that wants to avoid catch(...)
> whenever possible then one should only catch specific kinds of
> exceptions and
> whenever possible let execution_monitor handle the rest.
>
I do subscribe to that camp: catch(...) should be used only in very special
scircumstances. Otherwise, catch what you can handle (and expect) and let
everything else go by.
-cd
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
carlos pizano
David Abrahams
David Abrahams
Holger Grund
Holger Grund
Holger Grund
Holger Grund
David Abrahams
Carl Daniel
carlos pizano
carlos pizano
David Abrahams
carlos pizano
carlos pizano
carlos pizano
Carl Daniel
Carl Daniel
carlos pizano
|