From Jason Turner

[cstdarg.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpvw442dx0/{from.md → to.md} +28 -0
tmp/tmpvw442dx0/{from.md → to.md} RENAMED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Header `<cstdarg>` synopsis <a id="cstdarg.syn">[[cstdarg.syn]]</a>
2
+
3
+ ``` cpp
4
+ namespace std {
5
+ using va_list = see below;
6
+ }
7
+
8
+ #define va_arg(V, P) see below
9
+ #define va_copy(VDST, VSRC) see below
10
+ #define va_end(V) see below
11
+ #define va_start(V, P) see below
12
+ ```
13
+
14
+ The contents of the header `<cstdarg>` are the same as the C standard
15
+ library header `<stdarg.h>`, with the following changes: The
16
+ restrictions that ISO C places on the second parameter to the `va_start`
17
+ macro in header `<stdarg.h>` are different in this International
18
+ Standard. The parameter `parmN` is the rightmost parameter in the
19
+ variable parameter list of the function definition (the one just before
20
+ the `...`).[^34] If the parameter `parmN` is a pack expansion (
21
+ [[temp.variadic]]) or an entity resulting from a lambda capture (
22
+ [[expr.prim.lambda]]), the program is ill-formed, no diagnostic
23
+ required. If the parameter `parmN` is of a reference type, or of a type
24
+ that is not compatible with the type that results when passing an
25
+ argument for which there is no parameter, the behavior is undefined.
26
+
27
+ ISO C 7.16.1.1.
28
+