17 Language support library [language.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 current new_­handler.
Returns: The previous new_­handler.
Remarks: The initial new_­handler is a null pointer.