728x90
728x170
*[header][other] new
<new>
Dynamic memory
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:
Functions
- operator new
- Allocate storage space (function )
- operator new[]
- Allocate storage space for array (function )
- operator delete
- Deallocate storage space (function )
- operator delete[]
- Deallocate storage space of array (function )
- set_new_handler
- Set new handler function (function )
- get_new_handler
- Get new handler function (function )
Types
- nothrow_t
- Nothrow type (type )
- new_handler
- Type of new handler function (type )
- bad_alloc
- Exception thrown on failure allocating memory (class )
- bad_array_new_length
- Exception on bad array length (class )
Constants
- nothrow
- Nothrow constant (constant )
728x90
그리드형(광고전용)
'Programming > C++' 카테고리의 다른 글
[header][other] regex (C++11) (0) | 2017.11.08 |
---|---|
[header][other] ratio (C++11) (0) | 2017.11.08 |
[header][other] random (C++11) (0) | 2017.11.08 |
[header][other] numeric (0) | 2017.11.08 |
[header][other] memory (0) | 2017.11.08 |
[header][other] locale (0) | 2017.11.08 |
[header][other] limits (0) | 2017.11.08 |
[header][other] iterator (0) | 2017.11.08 |