|
1 | 1 | %!TEX root = std.tex
|
2 | 2 | \infannex{diff}{Compatibility}
|
3 | 3 |
|
4 |
| -\rSec1[diff.cpp23]{\Cpp{} and ISO \CppXXIII{}} |
| 4 | +\rSec1[diff.cpp23]{\Cpp{} and \CppXXIII{}} |
5 | 5 |
|
6 | 6 | \rSec2[diff.cpp23.general]{General}
|
7 | 7 |
|
8 | 8 | \pnum
|
9 |
| -\indextext{summary!compatibility with ISO \CppXXIII{}}% |
10 |
| -Subclause \ref{diff.cpp23} lists the differences between \Cpp{} and |
11 |
| -ISO \CppXXIII{}, |
| 9 | +\indextext{summary!compatibility with \CppXXIII{}}% |
| 10 | +Subclause \ref{diff.cpp23} lists the differences between this document and |
| 11 | +\CppXXIII{}, |
12 | 12 | by the chapters of this document.
|
13 | 13 |
|
14 | 14 | \rSec2[diff.cpp23.expr]{\ref{expr}: expressions}
|
|
157 | 157 | int tag;
|
158 | 158 | };
|
159 | 159 |
|
160 |
| -static_assert(!allocator_traits<MyAlloc<int>>::is_always_equal); // Error in \CppXXIII{}, |
161 |
| - // OK in \CppXXVI{} |
| 160 | +static_assert(!allocator_traits<MyAlloc<int>>::is_always_equal); // Error in \CppXXIII{}, |
| 161 | + // OK in \CppXXVI{} |
162 | 162 | \end{codeblock}
|
163 | 163 | \end{example}
|
164 | 164 |
|
|
240 | 240 | \effect
|
241 | 241 | A valid \CppXXIII{} program using these interfaces may become ill-formed.
|
242 | 242 |
|
243 |
| -\rSec1[diff.cpp20]{\Cpp{} and ISO \CppXX{}} |
| 243 | +\rSec1[diff.cpp20]{\Cpp{} and \CppXX{}} |
244 | 244 |
|
245 | 245 | \rSec2[diff.cpp20.general]{General}
|
246 | 246 |
|
247 | 247 | \pnum
|
248 |
| -\indextext{summary!compatibility with ISO \CppXX{}}% |
249 |
| -Subclause \ref{diff.cpp20} lists the differences between \Cpp{} and |
250 |
| -ISO \CppXX{}, |
| 248 | +\indextext{summary!compatibility with \CppXX{}}% |
| 249 | +Subclause \ref{diff.cpp20} lists the differences between this document and |
| 250 | +\CppXX{}, |
251 | 251 | in addition to those listed above,
|
252 | 252 | by the chapters of this document.
|
253 | 253 |
|
|
611 | 611 | \end{codeblock}
|
612 | 612 | \end{example}
|
613 | 613 |
|
614 |
| -\rSec1[diff.cpp17]{\Cpp{} and ISO \CppXVII{}} |
| 614 | +\rSec1[diff.cpp17]{\Cpp{} and \CppXVII{}} |
615 | 615 |
|
616 | 616 | \rSec2[diff.cpp17.general]{General}
|
617 | 617 |
|
618 | 618 | \pnum
|
619 |
| -\indextext{summary!compatibility with ISO \CppXVII{}}% |
620 |
| -Subclause \ref{diff.cpp17} lists the differences between \Cpp{} and |
621 |
| -ISO \CppXVII{}, |
| 619 | +\indextext{summary!compatibility with \CppXVII{}}% |
| 620 | +Subclause \ref{diff.cpp17} lists the differences between this document and |
| 621 | +\CppXVII{}, |
622 | 622 | in addition to those listed above,
|
623 | 623 | by the chapters of this document.
|
624 | 624 |
|
|
1371 | 1371 | \tcode{result_of} type traits, on the \tcode{is_literal_type_v} variable template,
|
1372 | 1372 | or on the \tcode{result_of_t} alias template may fail to compile.
|
1373 | 1373 |
|
1374 |
| -\rSec1[diff.cpp14]{\Cpp{} and ISO \CppXIV{}} |
| 1374 | +\rSec1[diff.cpp14]{\Cpp{} and \CppXIV{}} |
1375 | 1375 |
|
1376 | 1376 | \rSec2[diff.cpp14.general]{General}
|
1377 | 1377 |
|
1378 | 1378 | \pnum
|
1379 |
| -\indextext{summary!compatibility with ISO \CppXIV{}}% |
1380 |
| -Subclause \ref{diff.cpp14} lists the differences between \Cpp{} and |
1381 |
| -ISO \CppXIV{}, |
| 1379 | +\indextext{summary!compatibility with \CppXIV{}}% |
| 1380 | +Subclause \ref{diff.cpp14} lists the differences between this document and |
| 1381 | +\CppXIV{}, |
1382 | 1382 | in addition to those listed above,
|
1383 | 1383 | by the chapters of this document.
|
1384 | 1384 |
|
|
1740 | 1740 | A valid \CppXIV{} program using these identifiers
|
1741 | 1741 | may be ill-formed in this revision of \Cpp{}.
|
1742 | 1742 |
|
1743 |
| -\rSec1[diff.cpp11]{\Cpp{} and ISO \CppXI{}} |
| 1743 | +\rSec1[diff.cpp11]{\Cpp{} and \CppXI{}} |
1744 | 1744 |
|
1745 | 1745 | \rSec2[diff.cpp11.general]{General}
|
1746 | 1746 |
|
1747 | 1747 | \pnum
|
1748 |
| -\indextext{summary!compatibility with ISO \CppXI{}}% |
1749 |
| -Subclause \ref{diff.cpp11} lists the differences between \Cpp{} and |
1750 |
| -ISO \CppXI{}, |
| 1748 | +\indextext{summary!compatibility with \CppXI{}}% |
| 1749 | +Subclause \ref{diff.cpp11} lists the differences between this document and |
| 1750 | +\CppXI{}, |
1751 | 1751 | in addition to those listed above,
|
1752 | 1752 | by the chapters of this document.
|
1753 | 1753 |
|
|
1897 | 1897 | Valid \CppXI{} code that uses the \tcode{gets} function may fail to compile
|
1898 | 1898 | in this revision of \Cpp{}.
|
1899 | 1899 |
|
1900 |
| -\rSec1[diff.cpp03]{\Cpp{} and ISO \CppIII{}} |
| 1900 | +\rSec1[diff.cpp03]{\Cpp{} and \CppIII{}} |
1901 | 1901 |
|
1902 | 1902 | \rSec2[diff.cpp03.general]{General}
|
1903 | 1903 |
|
1904 | 1904 | \pnum
|
1905 |
| -\indextext{summary!compatibility with ISO \CppIII{}}% |
1906 |
| -Subclause \ref{diff.cpp03} lists the differences between \Cpp{} and |
1907 |
| -ISO \CppIII{}, |
| 1905 | +\indextext{summary!compatibility with \CppIII{}}% |
| 1906 | +Subclause \ref{diff.cpp03} lists the differences between this document and |
| 1907 | +\CppIII{}, |
1908 | 1908 | in addition to those listed above,
|
1909 | 1909 | by the chapters of this document.
|
1910 | 1910 |
|
|
2446 | 2446 | \tcode{std::exception}, but is now derived from \tcode{std::system_error},
|
2447 | 2447 | which in turn is derived from \tcode{std::runtime_error}. Valid \CppIII{} code
|
2448 | 2448 | that assumes that \tcode{std::ios_base::failure} is derived directly from
|
2449 |
| -\tcode{std::exception} may execute differently in this revision of \Cpp{}. |
| 2449 | +\tcode{std::excep\-tion} may execute differently in this revision of \Cpp{}. |
2450 | 2450 |
|
2451 | 2451 | \diffref{ios.base}
|
2452 | 2452 | \change
|
|
2475 | 2475 |
|
2476 | 2476 | \pnum
|
2477 | 2477 | \indextext{summary!compatibility with C}%
|
2478 |
| -Subclause \ref{diff.iso} lists the differences between \Cpp{} and C, |
| 2478 | +Subclause \ref{diff.iso} lists the differences between this document and \IsoC{}, |
2479 | 2479 | in addition to those listed above,
|
2480 | 2480 | by the chapters of this document.
|
2481 | 2481 |
|
|
0 commit comments