cpp/error/terminate

is called by the C++ runtime when the program cannot continue for any of the following reasons:

@1@ an exception is thrown and not caught (it is implementation-defined whether any stack unwinding is done in this case)

@2@ a function directly invoked by the exception handling mechanism while handling an exception that has not yet been caught exits via an exception (e.g. a destructor of some local object, or a copy constructor constructing a catch-clause parameter)

@3@ the constructor or the destructor of a static object throws an exception

@4@ a function registered with std throws an exception

may also be called directly from the program.

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

Parameters
(none)

Return value
(none)