File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 853
853
the macro \tcode {_x} would have been expanded. In this International Standard,
854
854
\# 1 consists of a single preprocessing tokens, so the macro is not expanded.
855
855
856
+ \ref {lex.ppnumber }
857
+ \change \grammarterm {pp-number} can contain \tcode {p} \grammarterm {sign} and
858
+ \tcode {P} \grammarterm {sign}
859
+ \rationale Necessary to enable hexadecimal floating literals.
860
+ \effect
861
+ Valid \CppIII code may fail to compile or produce different results in
862
+ this International Standard. Specifically, character sequences like \tcode {0p+0}
863
+ are three separate tokens in \CppIII , but one single token in this International
864
+ Standard. For example:
865
+
866
+ \begin {codeblock }
867
+ #define F(a) b ## a
868
+ int b0p = F(0p0+0); // ill-formed; equivalent to `` \tcode {int b0p = b0p + 0;}\! '' in C++ 2003
869
+ \end {codeblock }
870
+
856
871
\ref {lex.key }
857
872
\change New keywords
858
873
\rationale Required for new features.
1477
1492
string literal, as part of the implementation-defined mapping from physical
1478
1493
source file characters to the basic source character set.
1479
1494
1495
+ \ref {lex.ppnumber }
1496
+ \change \grammarterm {pp-number} can contain \tcode {p} \grammarterm {sign} and
1497
+ \tcode {P} \grammarterm {sign}
1498
+ \rationale Necessary to enable hexadecimal floating literals.
1499
+ \effect
1500
+ Valid \CppXI code may fail to compile or produce different results in
1501
+ this International Standard. Specifically, character sequences like \tcode {0e1_p+0}
1502
+ are three separate tokens in \CppXIV , but one single token in this International
1503
+ Standard.
1504
+
1480
1505
\rSec 2[diff.cpp14.expr]{Clause \ref {expr }: expressions}
1481
1506
1482
1507
\ref {expr.post.incr }, \ref {expr.pre.incr }
You can’t perform that action at this time.
0 commit comments