Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In normal use it's essentially the same yes. The one interesting edge case that might catch some people out is there's actually nothing special about std::exception, you can throw anything, "throw 123;" is valid and would skip any std::exception handlers - but you can also just catch anything with a "catch (...)".


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: