
----- Original Message ----- From: "Matt Gruenke" <mgruenke@intellivid.com> To: <boost@lists.boost.org> Sent: Tuesday, November 25, 2008 8:01 PM Subject: Re: [boost] [Thread] Win32 exception handling
Some compilers (certainly GCC) have the ability to preserve the stackframe from the time it was thrown (!), for uncaught exceptions. If you catch (...), then the destructors of all the locals will execute and you'll lose some information that could be instrumental in tracking down the cause of the exception.
For that reason, among others, it's good to avoid the catch/rethrow construct.
Please could some one explain in which cases the destructors of all the locals are not executed? Can the stack-frame be recovered in some way just before the destructors are called? Thanks, Vicente