tmp/tmpcm6x7boh/{from.md → to.md}
RENAMED
|
@@ -10,12 +10,9 @@ expression that is not potentially evaluated) becomes ill-formed.
|
|
| 10 |
|
| 11 |
[[class.dtor]] (destructors) **Change:** User-declared destructors have
|
| 12 |
an implicit exception specification. **Rationale:** Clarification of
|
| 13 |
destructor requirements. **Effect on original feature:** Valid C++03code
|
| 14 |
may execute differently in this International Standard. In particular,
|
| 15 |
-
destructors that throw exceptions will call `std::terminate
|
| 16 |
-
calling `std::unexpected
|
| 17 |
-
|
| 18 |
-
derived class, `std::terminate()` can be avoided only if the base class
|
| 19 |
-
virtual destructor has an exception specification that is not `noexcept`
|
| 20 |
-
and not `noexcept(true)`.
|
| 21 |
|
|
|
|
| 10 |
|
| 11 |
[[class.dtor]] (destructors) **Change:** User-declared destructors have
|
| 12 |
an implicit exception specification. **Rationale:** Clarification of
|
| 13 |
destructor requirements. **Effect on original feature:** Valid C++03code
|
| 14 |
may execute differently in this International Standard. In particular,
|
| 15 |
+
destructors that throw exceptions will call `std::terminate` (without
|
| 16 |
+
calling `std::unexpected`) if their exception specification is
|
| 17 |
+
non-throwing.
|
|
|
|
|
|
|
|
|
|
| 18 |
|