ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved