
15 May
2004
15 May
'04
4:10 a.m.
"Pavel Vozenilek" <pavel_vozenilek@hotmail.com> wrote in message news:c831jt$474$1@sea.gmane.org...
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