16 Jun
2011
16 Jun
'11
5:14 a.m.
Why don't you override the global operator new?
-- overriding the global operator new is generally a discouraged practice.
We have overridden new in the specific classes and passed it around as a policy class to be inherited. With Windows DLLs, i would need to do only static linking with global operator new override. Because of all these reasons, we are staying away from it. Thanks.