|
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}
|
|
151 | 151 | int tag;
|
152 | 152 | };
|
153 | 153 |
|
154 |
| -static_assert(!allocator_traits<MyAlloc<int>>::is_always_equal); // Error in \CppXXIII{}, |
155 |
| - // OK in \CppXXVI{} |
| 154 | +static_assert(!allocator_traits<MyAlloc<int>>::is_always_equal); // Error in \CppXXIII{}, |
| 155 | + // OK in \CppXXVI{} |
156 | 156 | \end{codeblock}
|
157 | 157 |
|
158 | 158 | \nodiffref
|
|
233 | 233 | \effect
|
234 | 234 | A valid \CppXXIII{} program using these interfaces may become ill-formed.
|
235 | 235 |
|
236 |
| -\rSec1[diff.cpp20]{\Cpp{} and ISO \CppXX{}} |
| 236 | +\rSec1[diff.cpp20]{\Cpp{} and \CppXX{}} |
237 | 237 |
|
238 | 238 | \rSec2[diff.cpp20.general]{General}
|
239 | 239 |
|
240 | 240 | \pnum
|
241 |
| -\indextext{summary!compatibility with ISO \CppXX{}}% |
242 |
| -Subclause \ref{diff.cpp20} lists the differences between \Cpp{} and |
243 |
| -ISO \CppXX{}, |
| 241 | +\indextext{summary!compatibility with \CppXX{}}% |
| 242 | +Subclause \ref{diff.cpp20} lists the differences between this document and |
| 243 | +\CppXX{}, |
244 | 244 | in addition to those listed above,
|
245 | 245 | by the chapters of this document.
|
246 | 246 |
|
|
591 | 591 | b1.arrive(); // implementation-defined; previously well-defined
|
592 | 592 | \end{codeblock}
|
593 | 593 |
|
594 |
| -\rSec1[diff.cpp17]{\Cpp{} and ISO \CppXVII{}} |
| 594 | +\rSec1[diff.cpp17]{\Cpp{} and \CppXVII{}} |
595 | 595 |
|
596 | 596 | \rSec2[diff.cpp17.general]{General}
|
597 | 597 |
|
598 | 598 | \pnum
|
599 |
| -\indextext{summary!compatibility with ISO \CppXVII{}}% |
600 |
| -Subclause \ref{diff.cpp17} lists the differences between \Cpp{} and |
601 |
| -ISO \CppXVII{}, |
| 599 | +\indextext{summary!compatibility with \CppXVII{}}% |
| 600 | +Subclause \ref{diff.cpp17} lists the differences between this document and |
| 601 | +\CppXVII{}, |
602 | 602 | in addition to those listed above,
|
603 | 603 | by the chapters of this document.
|
604 | 604 |
|
|
1332 | 1332 | \tcode{result_of} type traits, on the \tcode{is_literal_type_v} variable template,
|
1333 | 1333 | or on the \tcode{result_of_t} alias template may fail to compile.
|
1334 | 1334 |
|
1335 |
| -\rSec1[diff.cpp14]{\Cpp{} and ISO \CppXIV{}} |
| 1335 | +\rSec1[diff.cpp14]{\Cpp{} and \CppXIV{}} |
1336 | 1336 |
|
1337 | 1337 | \rSec2[diff.cpp14.general]{General}
|
1338 | 1338 |
|
1339 | 1339 | \pnum
|
1340 |
| -\indextext{summary!compatibility with ISO \CppXIV{}}% |
1341 |
| -Subclause \ref{diff.cpp14} lists the differences between \Cpp{} and |
1342 |
| -ISO \CppXIV{}, |
| 1340 | +\indextext{summary!compatibility with \CppXIV{}}% |
| 1341 | +Subclause \ref{diff.cpp14} lists the differences between this document and |
| 1342 | +\CppXIV{}, |
1343 | 1343 | in addition to those listed above,
|
1344 | 1344 | by the chapters of this document.
|
1345 | 1345 |
|
|
1692 | 1692 | A valid \CppXIV{} program using these identifiers
|
1693 | 1693 | may be ill-formed in this revision of \Cpp{}.
|
1694 | 1694 |
|
1695 |
| -\rSec1[diff.cpp11]{\Cpp{} and ISO \CppXI{}} |
| 1695 | +\rSec1[diff.cpp11]{\Cpp{} and \CppXI{}} |
1696 | 1696 |
|
1697 | 1697 | \rSec2[diff.cpp11.general]{General}
|
1698 | 1698 |
|
1699 | 1699 | \pnum
|
1700 |
| -\indextext{summary!compatibility with ISO \CppXI{}}% |
1701 |
| -Subclause \ref{diff.cpp11} lists the differences between \Cpp{} and |
1702 |
| -ISO \CppXI{}, |
| 1700 | +\indextext{summary!compatibility with \CppXI{}}% |
| 1701 | +Subclause \ref{diff.cpp11} lists the differences between this document and |
| 1702 | +\CppXI{}, |
1703 | 1703 | in addition to those listed above,
|
1704 | 1704 | by the chapters of this document.
|
1705 | 1705 |
|
|
1845 | 1845 | Valid \CppXI{} code that uses the \tcode{gets} function may fail to compile
|
1846 | 1846 | in this revision of \Cpp{}.
|
1847 | 1847 |
|
1848 |
| -\rSec1[diff.cpp03]{\Cpp{} and ISO \CppIII{}} |
| 1848 | +\rSec1[diff.cpp03]{\Cpp{} and \CppIII{}} |
1849 | 1849 |
|
1850 | 1850 | \rSec2[diff.cpp03.general]{General}
|
1851 | 1851 |
|
1852 | 1852 | \pnum
|
1853 |
| -\indextext{summary!compatibility with ISO \CppIII{}}% |
1854 |
| -Subclause \ref{diff.cpp03} lists the differences between \Cpp{} and |
1855 |
| -ISO \CppIII{}, |
| 1853 | +\indextext{summary!compatibility with \CppIII{}}% |
| 1854 | +Subclause \ref{diff.cpp03} lists the differences between this document and |
| 1855 | +\CppIII{}, |
1856 | 1856 | in addition to those listed above,
|
1857 | 1857 | by the chapters of this document.
|
1858 | 1858 |
|
|
2387 | 2387 | \tcode{std::exception}, but is now derived from \tcode{std::system_error},
|
2388 | 2388 | which in turn is derived from \tcode{std::runtime_error}. Valid \CppIII{} code
|
2389 | 2389 | that assumes that \tcode{std::ios_base::failure} is derived directly from
|
2390 |
| -\tcode{std::exception} may execute differently in this revision of \Cpp{}. |
| 2390 | +\tcode{std::excep\-tion} may execute differently in this revision of \Cpp{}. |
2391 | 2391 |
|
2392 | 2392 | \diffref{ios.base}
|
2393 | 2393 | \change
|
|
2415 | 2415 |
|
2416 | 2416 | \pnum
|
2417 | 2417 | \indextext{summary!compatibility with ISO C}%
|
2418 |
| -Subclause \ref{diff.iso} lists the differences between \Cpp{} and ISO C, |
| 2418 | +Subclause \ref{diff.iso} lists the differences between this document and \IsoC{}, |
2419 | 2419 | in addition to those listed above,
|
2420 | 2420 | by the chapters of this document.
|
2421 | 2421 |
|
|
0 commit comments