Low level memory management

From cppreference.com
< cpp‎ | memory

The new-expression is the only way to create an object or an array of objects with dynamic storage duration, that is, with lifetime not restricted to the scope in which it is created. A new-expression obtains storage by calling an allocation function. A delete-expression destroys a most derived object or an array created by a new-expression and calls the deallocation function. The default allocation and deallocation functions, along with related functions, types, and objects, are declared in the header <new>.

Defined in header <new>


allocation functions
deallocation functions
obtains the current new handler
registers a new handler
exception thrown when memory allocation fails
exception thrown on allocation of array with invalid length
tag type used to select an non-throwing allocation function
function pointer type of the new handler
an object of type nothrow_t used to select an non-throwing allocation function