tmp/tmprl9jmgxd/{from.md → to.md}
RENAMED
|
@@ -11,12 +11,14 @@ namespace std {
|
|
| 11 |
|
| 12 |
The contents of the header `<csetjmp>` are the same as the C standard
|
| 13 |
library header `<setjmp.h>`.
|
| 14 |
|
| 15 |
The function signature `longjmp(jmp_buf jbuf, int val)` has more
|
| 16 |
-
restricted behavior in this
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
automatic
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
ISO C
|
| 22 |
|
|
|
|
| 11 |
|
| 12 |
The contents of the header `<csetjmp>` are the same as the C standard
|
| 13 |
library header `<setjmp.h>`.
|
| 14 |
|
| 15 |
The function signature `longjmp(jmp_buf jbuf, int val)` has more
|
| 16 |
+
restricted behavior in this document. A `setjmp`/`longjmp` call pair has
|
| 17 |
+
undefined behavior if replacing the `setjmp` and `longjmp` by `catch`
|
| 18 |
+
and `throw` would invoke any non-trivial destructors for any objects
|
| 19 |
+
with automatic storage duration. A call to `setjmp` or `longjmp` has
|
| 20 |
+
undefined behavior if invoked in a suspension context of a coroutine
|
| 21 |
+
[[expr.await]].
|
| 22 |
|
| 23 |
+
See also: ISO C 7.13
|
| 24 |
|