pastec icon indicating copy to clipboard operation
pastec copied to clipboard

Catch exceptions in main()?

Open elfring opened this issue 10 years ago • 0 comments

I expect that exception handling is usually supported by a C++ program. I wonder why your function "main" does not contain corresponding try and catch instructions so far.

How do you think about recommendations by Matthew Wilson in an article?

Would you like to adjust the implementation if you consider effects for uncaught/unhandled exceptions like they are described by Danny Kalev?

elfring avatar Oct 03 '14 11:10 elfring