18 Language support library [language.support]

18.6 Dynamic memory management [support.dynamic]

18.6.2 Storage allocation errors [alloc.errors]

18.6.2.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 current new_handler.

Returns: The previous new_handler.

Remarks: The initial new_handler is a null pointer.