tmp/tmphut2lb9b/{from.md → to.md}
RENAMED
|
@@ -3,14 +3,14 @@
|
|
| 3 |
**Change:** Remove `throw()` exception specification. **Rationale:**
|
| 4 |
Removal of obsolete feature that has been replaced by `noexcept`.
|
| 5 |
**Effect on original feature:** A valid C++17 function declaration,
|
| 6 |
member function declaration, function pointer declaration, or function
|
| 7 |
reference declaration that uses `throw()` for its exception
|
| 8 |
-
specification will be rejected as ill-formed in this
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
[*Note 1*: There is no way to write a function declaration that is
|
| 13 |
-
non-throwing in this
|
| 14 |
-
|
| 15 |
-
|
| 16 |
|
|
|
|
| 3 |
**Change:** Remove `throw()` exception specification. **Rationale:**
|
| 4 |
Removal of obsolete feature that has been replaced by `noexcept`.
|
| 5 |
**Effect on original feature:** A valid C++17 function declaration,
|
| 6 |
member function declaration, function pointer declaration, or function
|
| 7 |
reference declaration that uses `throw()` for its exception
|
| 8 |
+
specification will be rejected as ill-formed in this revision of C++. It
|
| 9 |
+
should simply be replaced with `noexcept` for no change of meaning since
|
| 10 |
+
C++17.
|
| 11 |
|
| 12 |
[*Note 1*: There is no way to write a function declaration that is
|
| 13 |
+
non-throwing in this revision of C++ and is also non-throwing in C++03
|
| 14 |
+
except by using the preprocessor to generate a different token sequence
|
| 15 |
+
in each case. — *end note*]
|
| 16 |
|