tmp/tmpbhc4uk8f/{from.md → to.md}
RENAMED
|
@@ -7,22 +7,22 @@ va-opt-replacement:
|
|
| 7 |
|
| 8 |
After the arguments for the invocation of a function-like macro have
|
| 9 |
been identified, argument substitution takes place. For each parameter
|
| 10 |
in the replacement list that is neither preceded by a `#` or `##`
|
| 11 |
preprocessing token nor followed by a `##` preprocessing token, the
|
| 12 |
-
preprocessing tokens naming the parameter are replaced by a
|
| 13 |
-
sequence determined as follows:
|
| 14 |
|
| 15 |
- If the parameter is of the form *va-opt-replacement*, the replacement
|
| 16 |
preprocessing tokens are the preprocessing token sequence for the
|
| 17 |
corresponding argument, as specified below.
|
| 18 |
- Otherwise, the replacement preprocessing tokens are the preprocessing
|
| 19 |
tokens of corresponding argument after all macros contained therein
|
| 20 |
have been expanded. The argument’s preprocessing tokens are completely
|
| 21 |
macro replaced before being substituted as if they formed the rest of
|
| 22 |
-
the preprocessing
|
| 23 |
-
available.
|
| 24 |
|
| 25 |
[*Example 1*:
|
| 26 |
|
| 27 |
``` cpp
|
| 28 |
#define LPAREN() (
|
|
|
|
| 7 |
|
| 8 |
After the arguments for the invocation of a function-like macro have
|
| 9 |
been identified, argument substitution takes place. For each parameter
|
| 10 |
in the replacement list that is neither preceded by a `#` or `##`
|
| 11 |
preprocessing token nor followed by a `##` preprocessing token, the
|
| 12 |
+
preprocessing tokens naming the parameter are replaced by a
|
| 13 |
+
preprocessing token sequence determined as follows:
|
| 14 |
|
| 15 |
- If the parameter is of the form *va-opt-replacement*, the replacement
|
| 16 |
preprocessing tokens are the preprocessing token sequence for the
|
| 17 |
corresponding argument, as specified below.
|
| 18 |
- Otherwise, the replacement preprocessing tokens are the preprocessing
|
| 19 |
tokens of corresponding argument after all macros contained therein
|
| 20 |
have been expanded. The argument’s preprocessing tokens are completely
|
| 21 |
macro replaced before being substituted as if they formed the rest of
|
| 22 |
+
the preprocessing translation unit with no other preprocessing tokens
|
| 23 |
+
being available.
|
| 24 |
|
| 25 |
[*Example 1*:
|
| 26 |
|
| 27 |
``` cpp
|
| 28 |
#define LPAREN() (
|