
26 Nov
2008
26 Nov
'08
4:21 p.m.
"vicente.botet" wrote: [...]
In addition, if the program is in a broken state, it is even more possible that the program crashes than it throw an exception.
So do you really want to unwind the stack on program crashes (instead of aborting at crash point) as well?
My preceding question should be: Why do you associate a broken program state with an exception?
Because that particular exception is unexpected in the established context. If you believe that you still somehow must handle it then you can add catch(...) yourself but don't insist on catch(...) and unwinding mandatory made by the implementation (or Boost.Thread for that matter). regards, alexander.