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

New itself does not throw, the allocation function does. Nobody makes you use the library allocation functions.

A better nitpick would be dynamic_cast throwing under some conditions. But then, how does it make iostreams the part of the language? There is just a typedef in the std namespace that aliases the type for some optional, compiler specific, data.



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

Search: