Is there some way to catch exceptions which are otherwise unhandled (including those thrown outside the catch block)?
I\'m not really concerned about all the normal
This is what I always do in main()
int main() { try { // Do Work } catch(std::exception const& e) { Log(e.what()); // If you are feeling mad (not in main) you could rethrow! } catch(...) { Log("UNKNOWN EXCEPTION"); // If you are feeling mad (not in main) you could rethrow! } }