tmp/tmpsqrr_rd0/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Header `<exception>` synopsis <a id="exception.syn">[[exception.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
class exception;
|
| 6 |
+
class bad_exception;
|
| 7 |
+
class nested_exception;
|
| 8 |
+
|
| 9 |
+
using terminate_handler = void (*)();
|
| 10 |
+
terminate_handler get_terminate() noexcept;
|
| 11 |
+
terminate_handler set_terminate(terminate_handler f) noexcept;
|
| 12 |
+
[[noreturn]] void terminate() noexcept;
|
| 13 |
+
|
| 14 |
+
int uncaught_exceptions() noexcept;
|
| 15 |
+
|
| 16 |
+
using exception_ptr = unspecified;
|
| 17 |
+
|
| 18 |
+
exception_ptr current_exception() noexcept;
|
| 19 |
+
[[noreturn]] void rethrow_exception(exception_ptr p);
|
| 20 |
+
template<class E> exception_ptr make_exception_ptr(E e) noexcept;
|
| 21 |
+
|
| 22 |
+
template <class T> [[noreturn]] void throw_with_nested(T&& t);
|
| 23 |
+
template <class E> void rethrow_if_nested(const E& e);
|
| 24 |
+
}
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
[[except.special]].
|
| 28 |
+
|