tmp/tmp0254odmn/{from.md → to.md}
RENAMED
|
@@ -12,17 +12,17 @@ namespace std {
|
|
| 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
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
the
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
|
| 27 |
-
ISO C
|
| 28 |
|
|
|
|
| 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 document. The
|
| 18 |
+
parameter `parmN` is the rightmost parameter in the variable parameter
|
| 19 |
+
list of the function definition (the one just before the `...`).[^35] If
|
| 20 |
+
the parameter `parmN` is a pack expansion [[temp.variadic]] or an entity
|
| 21 |
+
resulting from a lambda capture [[expr.prim.lambda]], the program is
|
| 22 |
+
ill-formed, no diagnostic required. If the parameter `parmN` is of a
|
| 23 |
+
reference type, or of a type that is not compatible with the type that
|
| 24 |
+
results when passing an argument for which there is no parameter, the
|
| 25 |
+
behavior is undefined.
|
| 26 |
|
| 27 |
+
See also: ISO C 7.16.1.1
|
| 28 |
|