new.h File Reference
Monitor all new/delete operator calls. More...
#include "debug/monitor.h"
Go to the source code of this file.
Detailed Description
Monitor all new/delete operator calls.
ALL or NONE of them must be monitored. Limitations for more information in new: 1) no placement constructor 2) the new with no exception will fail too.
Limitation for the verbose delete:
- delete MUST be enclosed within brackets, statements like if (test) delete me; WILL FAIL => if (test) { delete me; } is correct Check this with a grep command.
Define:
- ENABLE_MONITOR to enable the monitor
- NNEW_INFO to skip incompatible new replacements -- local to .h or .cpp
- NDELETE_INFO to skip incompatible delete replacements -- local to .h or .cpp
NOTE: defining NDEBUG will *not* skip this, which allows for optimized compilation with new monitor.
Generated on Fri Jun 30 00:02:51 2006 for Module debug by
1.4.2