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

If new fails your program crashing is probably going to be the only outcome anyway, might as well fail from an unhandled exception.

And if you're putting things that can throw exceptions in your ctors or dtors you're probably already writing code that is a timebomb



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

Search: