This
operator allocates additional memory.
The following
macros call this method:
Signaturevoid * operator new (size_t size, void * p);
Parameterssize
Specifies the memory required
p
Specifies a pointer to the memory location
Notes- Rational® Rhapsody® overwrites the standard new operator
to support its static architecture during run time.
- Rational Rhapsody uses malloc and
dynamic memory allocation (DMA) during initialization.
- The OMTimeout class macro creates the memory pool for timeouts.
The new operator gets memory from the memory pool.
The Delete operation returns memory to the memory
pool.