cpp/error/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.

may also be called directly from the program.

In either case, calls the currently installed std. The default std calls std.

Parameters
(none)

Return value
(none)

Exceptions
Throw any exception thrown by the currently installed std