This header describes functions used to manage dynamic storage in C++.
Exceptionally within the standard library, this header declares several functions in the
global namespace instead of in the
std namespace: These are the operator overloads for
new and
delete, which handle dynamic storage requests. Some of these functions have also the special property of being replaceable in a program.
The header also defines some specific types and the
set_new_handler function:
Contents
Functions:
Types:
| bad_alloc | Exception thrown on failure allocating memory (class) |
Constants:
| nothrow | Nothrow constant (constant) |