Sets the function for terminating an exception.
terminate_handler set_terminate (terminate_handler f) throw();
The terminate_handler shall not be a null pointer.
The previous terminate_handler is returned.