It is this function that you override. That is, you do not overload the new operator. Instead you overload the operator new() that's called by the new operator. (seriously, I'm not making this up).
NEW is a operator in c++. it dont require any type casting and main important of new is you can initialise the memory with any value at the time of cration, its not possible with malloc or calloc or etc..
Comment