|
1356 | 1356 | more than one \grammarterm{c-char}.
|
1357 | 1357 | The \grammarterm{encoding-prefix} of
|
1358 | 1358 | a non-encodable character literal or a multicharacter literal
|
1359 |
| -shall be absent or \tcode{L}. |
| 1359 | +shall be absent. |
1360 | 1360 | Such \grammarterm{character-literal}s are conditionally-supported.
|
1361 | 1361 |
|
1362 | 1362 | \pnum
|
|
1367 | 1367 | as defined by \tref{lex.ccon.literal}.
|
1368 | 1368 | The special cases for
|
1369 | 1369 | non-encodable character literals and multicharacter literals
|
1370 |
| -take precedence over their respective base kinds. |
| 1370 | +take precedence over the base kind. |
1371 | 1371 | \begin{note}
|
1372 |
| -The associated character encoding for ordinary and wide character literals |
| 1372 | +The associated character encoding for ordinary character literals |
1373 | 1373 | determines encodability,
|
1374 | 1374 | but does not determine the value of
|
1375 |
| -non-encodable ordinary or wide character literals or |
1376 |
| -ordinary or wide multicharacter literals. |
| 1375 | +non-encodable ordinary character literals or |
| 1376 | +ordinary multicharacter literals. |
1377 | 1377 | The examples in \tref{lex.ccon.literal}
|
1378 |
| -for non-encodable ordinary and wide character literals assume that |
| 1378 | +for non-encodable ordinary character literals assume that |
1379 | 1379 | the specified character lacks representation in
|
1380 |
| -the ordinary literal encoding or wide literal encoding, respectively, or |
| 1380 | +the ordinary literal encoding or |
1381 | 1381 | that encoding the character would require more than one code unit.
|
1382 | 1382 | \end{note}
|
1383 | 1383 |
|
|
1405 | 1405 | \tcode{L} &
|
1406 | 1406 | \defnx{wide character literal}{literal!character!wide} &
|
1407 | 1407 | \keyword{wchar_t} &
|
1408 |
| -wide & |
1409 |
| -\tcode{L'w'} \\ \cline{2-3}\cline{5-5} |
1410 |
| - & |
1411 |
| -non-encodable wide character literal & |
1412 |
| -\keyword{wchar_t} & |
1413 |
| -literal & |
1414 |
| -\tcode{L'\textbackslash U0001F32A'} \\ \cline{2-3}\cline{5-5} |
1415 |
| - & |
1416 |
| -wide multicharacter literal & |
1417 |
| -\keyword{wchar_t} & |
1418 |
| -encoding & |
1419 |
| -\tcode{L'abcd'} \\ \hline |
| 1408 | +wide literal & |
| 1409 | +\tcode{L'w'} \\ |
| 1410 | + & & & encoding & \\ \hline |
1420 | 1411 | \tcode{u8} &
|
1421 | 1412 | \defnx{UTF-8 character literal}{literal!character!UTF-8} &
|
1422 | 1413 | \keyword{char8_t} &
|
|
0 commit comments