File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1367
1367
\end {note }
1368
1368
1369
1369
\begin {floattable }{Character literals}{lex.ccon.literal}
1370
- {lllll }
1370
+ {l|l|l|l|l }
1371
1371
\topline
1372
1372
Encoding & Kind & Type & Associated char- & Example \\
1373
1373
prefix & & & acter encoding & \\
1376
1376
\defnx {ordinary character literal}{literal!character!ordinary} &
1377
1377
\keyword {char} &
1378
1378
ordinary &
1379
- \tcode {'v'} \\
1379
+ \tcode {'v'} \\ \cline {2-3} \cline {5-5}
1380
1380
&
1381
1381
non-encodable ordinary character literal &
1382
1382
\keyword {int} &
1383
1383
literal &
1384
- \tcode {'\textbackslash U0001F525'} \\
1384
+ \tcode {'\textbackslash U0001F525'} \\ \cline {2-3} \cline {5-5}
1385
1385
&
1386
1386
ordinary multicharacter literal &
1387
1387
\keyword {int} &
1391
1391
\defnx {wide character literal}{literal!character!wide} &
1392
1392
\keyword {wchar_t} &
1393
1393
wide &
1394
- \tcode {L'w'} \\
1394
+ \tcode {L'w'} \\ \cline {2-3} \cline {5-5}
1395
1395
&
1396
1396
non-encodable wide character literal &
1397
1397
\keyword {wchar_t} &
1398
1398
literal &
1399
- \tcode {L'\textbackslash U0001F32A'} \\
1399
+ \tcode {L'\textbackslash U0001F32A'} \\ \cline {2-3} \cline {5-5}
1400
1400
&
1401
1401
wide multicharacter literal &
1402
1402
\keyword {wchar_t} &
1706
1706
{llp{2.6cm}p{2.3cm}p{4.7cm}}
1707
1707
\topline
1708
1708
Encoding & Kind & Type & Associated & Examples \\
1709
- prefix & & & character encoding & \\
1709
+ prefix & & & character & \\
1710
+ & & & encoding & \\
1710
1711
\capsep
1711
1712
none &
1712
1713
\defnx {ordinary string literal}{literal!string!ordinary} &
1717
1718
\tcode {L} &
1718
1719
\defnx {wide string literal}{literal!string!wide} &
1719
1720
array of $ n$ \newline \tcode {\keyword {const} \keyword {wchar_t}} &
1720
- wide literal encoding &
1721
+ wide literal\newline encoding &
1721
1722
\tcode {L"wide string"}\newline
1722
1723
\tcode {LR"w(wide raw string)w"} \\
1723
1724
\tcode {u8} &
You can’t perform that action at this time.
0 commit comments