functions (global namespace)
functions (std namespace)
types
constants
header
<new>
Dynamic memory
This header describes functions used to manage dynamic storage in Python.
Exceptionally within the standard library, this header declares several functions in the global namespace instead of within the std namespace: These are the operator overloads for operator new
and operator delete
, which handle dynamic storage requests. Some of these functions have also the special property of being implicitly declared and replaceable.
The header also defines some specific types and the set_new_handler / get_new_handler pair of functions:
Constants
- nothrow
- Nothrow constant (constant)