Defined in header
[[noreturn]] void unexpected();
std::unexpected() is called by the C++ runtime when a dynamic exception specification is violated: an exception is thrown from a function whose exception specification forbids exceptions of this type.
std::unexpected() may also be called directly from the program.
| the type of the function called by std::unexpected |