From cppreference.com
Defined in header
<new>
typedefvoid(*new_handler)();std::new_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is used by the functions
std::set_new_handler
and
std::get_new_handler
.
See also