|
Overloading operator new()???
|
12/30/2008 10:53 AM
post19288
|
Overloading operator new()???
Happy Holidays All -
Our team is considering overloading the new() operator to ensure that a NULL pointer is returned if/when the system is
out of memory. Currently, even with exceptions disabled, new() throws a std::out_of_memory exception, which is
undesirable for us...
My question is this: Is there a "best place" to overload operator new() for the entire system?
Thanks!
MikeZ
|
|
|