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: Latest ScopeGuard
by Andrei Alexandrescu \ other posts by this author
May 14 2004 9:39PM messages near this date
[boost] Re: [Boost.Thread] mutex Win32 implementation changes | RE: [boost] Re: Latest ScopeGuard
SOURCE "Pavel Vozenilek" <pavel_vozenilek@[...].com>  wrote in message
news:c831jt$474$1@[...]..
>  Multi index container library includes ScopeGuard (almost verbatim
>  from Andrei) until some boost-wide solution appears.

What does it/should it do if the guard function throws an exception? Is
there some try/catch in ScopeGuard's destructor?

I was never sure what to do there. You can't pass an error out, you can't
throw... and to keep the library general, you can't do something like
logging or writing to cerr. Any ideas?


Andrei



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

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