tmp/tmprtznmjgu/{from.md → to.md}
RENAMED
|
@@ -10,18 +10,20 @@ namespace std {
|
|
| 10 |
using terminate_handler = void (*)();
|
| 11 |
terminate_handler get_terminate() noexcept;
|
| 12 |
terminate_handler set_terminate(terminate_handler f) noexcept;
|
| 13 |
[[noreturn]] void terminate() noexcept;
|
| 14 |
|
| 15 |
-
int uncaught_exceptions() noexcept;
|
| 16 |
|
| 17 |
using exception_ptr = unspecified;
|
| 18 |
|
| 19 |
-
exception_ptr current_exception() noexcept;
|
| 20 |
-
[[noreturn]] void rethrow_exception(exception_ptr p);
|
| 21 |
-
template<class E> exception_ptr make_exception_ptr(E e) noexcept;
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
template<class T> [[noreturn]] void throw_with_nested(T&& t);
|
| 24 |
-
template<class E> void rethrow_if_nested(const E& e);
|
| 25 |
}
|
| 26 |
```
|
| 27 |
|
|
|
|
| 10 |
using terminate_handler = void (*)();
|
| 11 |
terminate_handler get_terminate() noexcept;
|
| 12 |
terminate_handler set_terminate(terminate_handler f) noexcept;
|
| 13 |
[[noreturn]] void terminate() noexcept;
|
| 14 |
|
| 15 |
+
constexpr int uncaught_exceptions() noexcept;
|
| 16 |
|
| 17 |
using exception_ptr = unspecified;
|
| 18 |
|
| 19 |
+
constexpr exception_ptr current_exception() noexcept;
|
| 20 |
+
[[noreturn]] constexpr void rethrow_exception(exception_ptr p);
|
| 21 |
+
template<class E> constexpr exception_ptr make_exception_ptr(E e) noexcept;
|
| 22 |
+
template<class E> constexpr const E* exception_ptr_cast(const exception_ptr& p) noexcept;
|
| 23 |
+
template<class E> void exception_ptr_cast(const exception_ptr&&) = delete;
|
| 24 |
|
| 25 |
+
template<class T> [[noreturn]] constexpr void throw_with_nested(T&& t);
|
| 26 |
+
template<class E> constexpr void rethrow_if_nested(const E& e);
|
| 27 |
}
|
| 28 |
```
|
| 29 |
|