From Jason Turner

[cpp.stringize]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp297_asaf/{from.md → to.md} +11 -7
tmp/tmp297_asaf/{from.md → to.md} RENAMED
@@ -16,13 +16,17 @@ argument’s preprocessing tokens becomes a single space character in the
16
  character string literal. Whitespace before the first preprocessing
17
  token and after the last preprocessing token comprising the stringizing
18
  argument is deleted. Otherwise, the original spelling of each
19
  preprocessing token in the stringizing argument is retained in the
20
  character string literal, except for special handling for producing the
21
- spelling of *string-literal*s and *character-literal*s: a `\` character
22
- is inserted before each `"` and `\` character of a *character-literal*
23
- or *string-literal* (including the delimiting `"` characters). If the
24
- replacement that results is not a valid character string literal, the
25
- behavior is undefined. The character string literal corresponding to an
26
- empty stringizing argument is `""`. The order of evaluation of `#` and
27
- `##` operators is unspecified.
 
 
 
 
28
 
 
16
  character string literal. Whitespace before the first preprocessing
17
  token and after the last preprocessing token comprising the stringizing
18
  argument is deleted. Otherwise, the original spelling of each
19
  preprocessing token in the stringizing argument is retained in the
20
  character string literal, except for special handling for producing the
21
+ spelling of *header-name*s, *character-literal*s, and *string-literal*s
22
+ (including the delimiting U+0022 (quotation mark) (`"`)) contained
23
+ within the preprocessing token: a U+005c (reverse solidus) character
24
+ (`\`) is inserted before each U+0022 (quotation mark) and
25
+ U+005c (reverse solidus) character of a *header-name*,
26
+ *character-literal*, or *string-literal*, and each new-line character is
27
+ replaced by the two-character sequence `\n`. If the replacement that
28
+ results is not a valid character string literal, the program is
29
+ ill-formed. The character string literal corresponding to an empty
30
+ stringizing argument is `""`. The order of evaluation of `#` and `##`
31
+ operators is unspecified.
32