title: How to detect when an exception is in flight?
body: <p>In C++ (MSVC) how can I test whether an exception is currently "in flight".  Ie, code which is being called as part of a class destructor may be getting invoked because an exception is unwinding the stack..  How can I detect this case as opposed to the normal case of a destructor being called due to a normal return?</p>