Mail Archives: djgpp/1998/02/17/21:48:55
At 07.30 1998-02-17 GMT, you wrote:
> mwallace AT wiltel DOT com (Michael Wallace x3738) wrote:-
>> In DJGPP, does the new operator throw an exception if it cannot allocate
the
>> requested memory? Or does it just return a NULL value.? Mike
>
> It returns 0, plainly, simply, thankfully.
I've never seen `new´ return NULL in DJGPP, thankfully! Because the C++
standard says that `new´ is not allowed to return NULL (unless nothrow is
used, but that's not implemented yet I think).
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
******************************************************
* A brief description of DJGPP: *
* NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY! *
******************************************************
- Raw text -