Difference between revisions of "cpp/memory/new/get new handler"
From cppreference.com
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh) |
m (Shorten template names. Use {{lc}} where appropriate.) |
||
Line 1: | Line 1: | ||
{{cpp/title|get_new_handler}} | {{cpp/title|get_new_handler}} | ||
{{cpp/memory/new/navbar}} | {{cpp/memory/new/navbar}} | ||
− | {{ | + | {{dcl begin}} |
− | {{ | + | {{dcl header | new}} |
− | {{ | + | {{dcl | notes={{mark since c++11}} |1= |
std::new_handler get_new_handler(); | std::new_handler get_new_handler(); | ||
}} | }} | ||
− | {{ | + | {{dcl end}} |
Returns the currently installed new-handler, which may be a null pointer. | Returns the currently installed new-handler, which may be a null pointer. | ||
Line 20: | Line 20: | ||
===See also=== | ===See also=== | ||
− | {{ | + | {{dsc begin}} |
− | {{ | + | {{dsc inc | cpp/memory/new/dcl list operator_new}} |
− | {{ | + | {{dsc inc | cpp/memory/new/dcl list set_new_handler}} |
− | {{ | + | {{dsc inc | cpp/memory/new/dcl list new_handler}} |
− | {{ | + | {{dsc end}} |
[[de:cpp/memory/new/get new handler]] | [[de:cpp/memory/new/get new handler]] |
Revision as of 19:14, 31 May 2013
Defined in header <new>
|
||
std::new_handler get_new_handler(); |
(since C++11) | |
Returns the currently installed new-handler, which may be a null pointer.
Contents |
Parameters
(none)
Return value
The currently installed new-handler, which may be a null pointer value.
Exceptions
noexcept specification:
noexcept