|
873 | 873 | this International Standard. Specifically, macros named \tcode{R}, \tcode{u8},
|
874 | 874 | \tcode{u8R}, \tcode{u}, \tcode{uR}, \tcode{U}, \tcode{UR}, or \tcode{LR} will
|
875 | 875 | not be expanded when adjacent to a string literal but will be interpreted as
|
876 |
| -part of the string literal. For example, |
| 876 | +part of the string literal. For example: |
877 | 877 |
|
878 | 878 | \begin{codeblock}
|
879 | 879 | #define u8 "abc"
|
|
885 | 885 | \rationale Required for new features.
|
886 | 886 | \effect
|
887 | 887 | Valid \CppIII{} code may fail to compile or produce different results in
|
888 |
| -this International Standard, as the following example illustrates. |
| 888 | +this International Standard, as the following example illustrates: |
889 | 889 |
|
890 | 890 | \begin{codeblock}
|
891 | 891 | #define _x "there"
|
|
1467 | 1467 | by aggregate initialization.
|
1468 | 1468 | \effect
|
1469 | 1469 | Valid \CppXI{} code may fail to compile or may change meaning in this International Standard.
|
| 1470 | +For example: |
1470 | 1471 | \begin{codeblock}
|
1471 | 1472 | struct S { // Aggregate in \CppXIV{} onwards.
|
1472 | 1473 | int m = 1;
|
|
1530 | 1531 | this International Standard. Specifically, character sequences like \tcode{0p+0}
|
1531 | 1532 | and \tcode{0e1_p+0} are three separate tokens each in \CppXIV{}, but one single token
|
1532 | 1533 | in this International Standard.
|
| 1534 | +For example: |
1533 | 1535 |
|
1534 | 1536 | \begin{codeblock}
|
1535 | 1537 | #define F(a) b ## a
|
|
1588 | 1590 | \rationale Improve type-safety.
|
1589 | 1591 | \effect
|
1590 | 1592 | Valid \CppXIV{} code may fail to compile or change meaning in this
|
1591 |
| -International Standard: |
| 1593 | +International Standard. |
| 1594 | +For example: |
1592 | 1595 |
|
1593 | 1596 | \begin{codeblock}
|
1594 | 1597 | void g1() noexcept;
|
|
1605 | 1608 | Valid \CppXIV{} code may fail to compile or produce different results in this
|
1606 | 1609 | International Standard; initialization from an empty initializer list will
|
1607 | 1610 | perform aggregate initialization instead of invoking a default constructor
|
1608 |
| -for the affected types: |
| 1611 | +for the affected types. |
| 1612 | +For example: |
1609 | 1613 | \begin{codeblock}
|
1610 | 1614 | struct derived;
|
1611 | 1615 | struct base {
|
|
1655 | 1659 | allows partial specializations to decompose
|
1656 | 1660 | from the type deduced for the non-type template argument.
|
1657 | 1661 | \effect Valid \CppXIV{} code may fail to compile
|
1658 |
| -or produce different results in this International Standard: |
| 1662 | +or produce different results in this International Standard. |
| 1663 | +For example: |
1659 | 1664 | \begin{codeblock}
|
1660 | 1665 | template <int N> struct A;
|
1661 | 1666 | template <typename T, T N> int foo(A<N> *) = delete;
|
|
0 commit comments