Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch exceptions in main()? #4

Open
elfring opened this issue May 5, 2016 · 1 comment
Open

Catch exceptions in main()? #4

elfring opened this issue May 5, 2016 · 1 comment

Comments

@elfring
Copy link

elfring commented May 5, 2016

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?

@xbpeng
Copy link
Owner

xbpeng commented May 5, 2016

thanks for the pointers. I haven't gotten into the habit of working with exceptions, but will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants