From: Joe Swatosh (joe-swatosh_at_[hidden])
Date: 2002-06-25 18:10:42
> -----Original Message-----
> From: Andrei Alexandrescu [mailto:andrewalex_at_[hidden]]
> I think the best approach is to have ScopeGuard not use
> try/catch in its
> destructor, and create a simple wrapper template
> eat_exceptions that can be
> composed with the user-passed function.
Funny you should mention that. The version I just uploaded to the yahoo files area does exactly that, although there must be a better implementation than what I've done....
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk