Low level memory management
From cppreference.com
C++
Utilities library
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Memory management library
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Low level memory management
| Functions | ||||
|
(C++11)
|
||||
| Classes | ||||
|
(C++11)
|
||||
|
(C++17)
|
||||
| Types | ||||
| Objects | ||||
|
(C++20)
|
||||
| Object access | ||||
|
(C++17)
|
The new-expression delete-expression <new>
Defined in header
<new> | |
Functions | |
| allocation functions (function) |
|
| deallocation functions (function) |
|
|
(C++11)
|
obtains the current new handler (function) |
| registers a new handler (function) |
|
Classes | |
| exception thrown when memory allocation fails (class) |
|
|
(C++11)
|
exception thrown on allocation of array with invalid length (class) |
|
(C++17)
|
type used to pass alignment to alignment-aware allocation and deallocation functions (enum) |
Types | |
| function pointer type of the new handler (typedef) |
|
Objects | |
| a tag used to select a non-throwing allocation function (tag) |
|
| a tag used to select destroying-delete overloads of operator delete (tag) |
|
Object access | |
|
(C++17)
|
pointer optimization barrier (function template) |