new
Briefly describes the uses of the new keyword and links to more information.
Title | Description |
|---|---|
Allocates a block of memory from the heap. | |
The function that's called by a new-expression to allocate storage for individual objects. | |
Allocates memory for an object or array of objects from the free store and returns a suitably typed, nonzero pointer to the object. | |
In a C++/CLI project, indicates that a virtual member gets a new slot in the vtable. In other words, the function does not override a base class method. | |
In a C++/CX (ref new) or C++/CLI (gcnew) project, this compound keyword creates a reference-counted object. |
Show: