File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1511
1511
string literal, as part of the implementation-defined mapping from physical
1512
1512
source file characters to the basic source character set.
1513
1513
1514
+ \ref {lex.ppnumber }
1515
+ \change \grammarterm {pp-number} can contain \tcode {p} \grammarterm {sign} and
1516
+ \tcode {P} \grammarterm {sign}
1517
+ \rationale Necessary to enable hexadecimal floating literals.
1518
+ \effect
1519
+ Valid \CppXIV code may fail to compile or produce different results in
1520
+ this International Standard. Specifically, character sequences like \tcode {0p+0}
1521
+ and \tcode {0e1_p+0} are three separate tokens each in \CppXIV , but one single token
1522
+ in this International Standard.
1523
+
1524
+ \begin {codeblock }
1525
+ #define F(a) b ## a
1526
+ int b0p = F(0p+0); // ill-formed; equivalent to `` \tcode {int b0p = b0p + 0;}\! '' in C++ 2014
1527
+ \end {codeblock }
1528
+
1514
1529
\rSec 2[diff.cpp14.expr]{Clause \ref {expr }: expressions}
1515
1530
1516
1531
\ref {expr.post.incr }, \ref {expr.pre.incr }
You can’t perform that action at this time.
0 commit comments