J
Jakob Bieling
Hi,
I am overloading the global operator new and delete to track allocations
and find leaks, along with file name and line numbers. This is how I
overloaded operator new:
#define new new (__FILE__, __LINE__)
Now the same will not work with operator delete. Is there a way to have
the file name and line number passed to operator delete?
Thanks
I am overloading the global operator new and delete to track allocations
and find leaks, along with file name and line numbers. This is how I
overloaded operator new:
#define new new (__FILE__, __LINE__)
Now the same will not work with operator delete. Is there a way to have
the file name and line number passed to operator delete?
Thanks