Is it possible to prevent new from being used at certain points in the code?
The legacy code that I am developing with has a requirement that there is no dynamic memory allocation after the bootstrap has completed. We now want to test this.
If I was starting the development from scratch then I could write my own wrapper and use that, or overload operator new in a common base class.
Is there a way of overloading global new and then calling it?