tmp/tmpdln71x07/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### [[except]]: exception handling <a id="diff.cpp17.except">[[diff.cpp17.except]]</a>
|
| 2 |
+
|
| 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 International
|
| 9 |
+
Standard. It should simply be replaced with `noexcept` for no change of
|
| 10 |
+
meaning since C++17.
|
| 11 |
+
|
| 12 |
+
[*Note 1*: There is no way to write a function declaration that is
|
| 13 |
+
non-throwing in this International Standard and is also non-throwing in
|
| 14 |
+
C++03 except by using the preprocessor to generate a different token
|
| 15 |
+
sequence in each case. — *end note*]
|
| 16 |
+
|