C++ operator new() does not return NULL. It thorws an exception, with is more often than not uncaught, resulting in the application exiting more or less gtracefully.
Unless, of course, you know enough to use the nothrow parameter (which the vast majority of C++ types don't even know exist.)
You might just wanna keep that in your back pocket, should the time arise... ;-)