Can we overload new and delete operators in C++?
Posted on: Mon, 2007-02-26 20:30
Can we overload new and delete operators in C++?
Does anyone have an idea if we can overload new and delete operators in C++?
I think we cannot but can someone throw some light on this.
Varsha

Yes of course :) You can overload new and delete like any other operator. Have a look at this link for more info:
http://www.eng.cam.ac.uk/help/tpl/languages/C++/Thinking_in_C++/tic0137....
Cheers
Mahen