assume the following conditions:
a pointer was declared and initialized to NULL before attempting to create an object with new.
the constructor of the object throws an exception.
according to standard C++, is the pointer guaranteed to be NULL (no memory was allocated) after throwing the exception? GCC behaves in such a way, but I'm wondering if it's a standard behavior or if it's just implementation specific.