[set.new.handler] (original) (raw)
17 Language support library [support]
17.6 Dynamic memory management [support.dynamic]
17.6.3 Storage allocation errors [alloc.errors]
17.6.3.4 set_new_handler [set.new.handler]
new_handler set_new_handler(new_handler new_p) noexcept;
Effects:Establishes the function designated by new_p as the currentnew_handler.
Returns:The previous new_handler.
Remarks:The initial new_handler is a null pointer.