News for hackers. Stuff that matters.
Re:Deep C and C++ (2011) by pkolaczk on Thursday October 24, 2013 @12:52PM (#6606329)
@pandaman: Just a minor nitpick about the statement that C++ library is not a part of the language: How come 'new' (builtin language operator, and reserverd keyword) can throw 'std::bad_alloc' (library construct) then? ;)
Re:Deep C and C++ (2011) by pandaman on Thursday October 24, 2013 @01:28PM (#6606574)
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.