tmp/tmptd6hr363/{from.md → to.md}
RENAMED
|
@@ -1,21 +1,22 @@
|
|
| 1 |
#### Restrictions on exception handling <a id="res.on.exception.handling">[[res.on.exception.handling]]</a>
|
| 2 |
|
| 3 |
Any of the functions defined in the C++ standard library can report a
|
| 4 |
failure by throwing an exception of a type described in its *Throws:*
|
| 5 |
paragraph, or of a type derived from a type named in the *Throws:*
|
| 6 |
-
paragraph that would be caught by
|
| 7 |
-
type.
|
| 8 |
|
| 9 |
Functions from the C standard library shall not throw exceptions [^26]
|
| 10 |
|
| 11 |
except when such a function calls a program-supplied function that
|
| 12 |
throws an exception.[^27]
|
| 13 |
|
| 14 |
Destructor operations defined in the C++ standard library shall not
|
| 15 |
throw exceptions. Every destructor in the C++ standard library shall
|
| 16 |
-
behave as if it had a non-throwing exception specification
|
|
|
|
| 17 |
|
| 18 |
Functions defined in the C++ standard library that do not have a
|
| 19 |
*Throws:* paragraph but do have a potentially-throwing exception
|
| 20 |
specification may throw *implementation-defined* exceptions.[^28]
|
| 21 |
|
|
|
|
| 1 |
#### Restrictions on exception handling <a id="res.on.exception.handling">[[res.on.exception.handling]]</a>
|
| 2 |
|
| 3 |
Any of the functions defined in the C++ standard library can report a
|
| 4 |
failure by throwing an exception of a type described in its *Throws:*
|
| 5 |
paragraph, or of a type derived from a type named in the *Throws:*
|
| 6 |
+
paragraph that would be caught by a *handler* [[except.handle]] for the
|
| 7 |
+
base type.
|
| 8 |
|
| 9 |
Functions from the C standard library shall not throw exceptions [^26]
|
| 10 |
|
| 11 |
except when such a function calls a program-supplied function that
|
| 12 |
throws an exception.[^27]
|
| 13 |
|
| 14 |
Destructor operations defined in the C++ standard library shall not
|
| 15 |
throw exceptions. Every destructor in the C++ standard library shall
|
| 16 |
+
behave as if it had a non-throwing exception specification
|
| 17 |
+
[[except.spec]].
|
| 18 |
|
| 19 |
Functions defined in the C++ standard library that do not have a
|
| 20 |
*Throws:* paragraph but do have a potentially-throwing exception
|
| 21 |
specification may throw *implementation-defined* exceptions.[^28]
|
| 22 |
|