Will new return NULL in any case?
VC6 was non-compliant by default in this regard. VC6’s new returned 0 (or NULL). Here’s Microsoft’s KB Article on this issue along with their suggested workaround using a custom new handler: Operator new does not throw a bad_alloc exception on failure in Visual C++ If you have old code that was written for VC6 behavior, … Read more