#define PNEW

(__FILE__, __LINE__)

Macro for overriding system default new operator.

Documentation

Macro for overriding system default new operator. This macro is used to allocate memory via the memory check system selected with the PMEMORY_CHECK compile time option. It will include the source file and line into the memory allocation to allow the PMemoryHeap class to keep track of the memory block.

This macro could be used instead of the system new operator. Or you can place the line

  #define new PNEW
at the begining of the source file, after all declarations that use the PCLASSINFO macro.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.