From Jason Turner

[csetjmp.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpjmq645_l/{from.md → to.md} +22 -0
tmp/tmpjmq645_l/{from.md → to.md} RENAMED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Header `<csetjmp>` synopsis <a id="csetjmp.syn">[[csetjmp.syn]]</a>
2
+
3
+ ``` cpp
4
+ namespace std {
5
+ using jmp_buf = see below;
6
+ [[noreturn]] void longjmp(jmp_buf env, int val);
7
+ }
8
+
9
+ #define setjmp(env) see below
10
+ ```
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 International Standard. A `setjmp`/`longjmp`
17
+ call pair has undefined behavior if replacing the `setjmp` and `longjmp`
18
+ by `catch` and `throw` would invoke any non-trivial destructors for any
19
+ automatic objects.
20
+
21
+ ISO C 7.13.
22
+