std::unexpected_handler

Header: <exception>

std::unexpected_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is installed and queried by the functions std::set_unexpected and std::get_unexpected and called by std::unexpected.

# Declarations

typedef void ( *unexpected_handler )();

(deprecated in C++11) (removed in C++17)

# See also