S
seenutn
Hi All,
The standard form of operator new is to throw exception (bad_alloc)
when out of memory condition is encountered. But I want new to return
NULL instead of throwing exception (behavior similar to malloc). Any
idea of how to go about it?
TIA
Regards,
Seenu.
The standard form of operator new is to throw exception (bad_alloc)
when out of memory condition is encountered. But I want new to return
NULL instead of throwing exception (behavior similar to malloc). Any
idea of how to go about it?
TIA
Regards,
Seenu.