[except.special.general]

# 14 Exception handling [[except]](./#except)

## 14.6 Special functions [[except.special]](except.special#general)

### 14.6.1 General [except.special.general]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/exceptions.tex#L1017)

The function std​::​terminate ([[except.terminate]](except.terminate "14.6.2 The std​::​terminate function"))
is used by the exception
handling mechanism for coping with errors related to the exception handling
mechanism itself[.](#1.sentence-1)

The function std​::​uncaught_exceptions ([[uncaught.exceptions]](uncaught.exceptions "17.9.6 uncaught_­exceptions"))
reports how many exceptions are uncaught in the current thread[.](#1.sentence-2)

The function std​::​current_exception ([[propagation]](propagation "17.9.7 Exception propagation")) and the classstd​::​nested_exception ([[except.nested]](except.nested "17.9.8 nested_­exception")) can be used by a program to
capture the currently handled exception[.](#1.sentence-3)
