Skip to content

Commit 577dee5

Browse files
committed
[diff.cpp17.depr] Add paragraph numbering and fix whitespace.
1 parent cf07497 commit 577dee5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

source/compatibility.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,6 +1766,7 @@
17661766

17671767
\rSec2[diff.cpp14.depr]{\ref{depr}: compatibility features}
17681768

1769+
\nodiffref
17691770
\change
17701771
The class templates
17711772
\tcode{auto_ptr},
@@ -1784,6 +1785,7 @@
17841785
\effect Valid \CppXIV{} code that uses these class templates
17851786
and function templates may fail to compile in this International Standard.
17861787

1788+
\nodiffref
17871789
\change
17881790
Remove old iostreams members [depr.ios.members].
17891791
\rationale Redundant feature for compatibility with pre-standard code
@@ -2033,6 +2035,7 @@
20332035

20342036
\rSec2[diff.cpp17.depr]{\ref{depr}: compatibility features}
20352037

2038+
\nodiffref
20362039
\change Remove \tcode{uncaught_exception}.
20372040
\rationale
20382041
The function did not have a clear specification when multiple exceptions were
@@ -2042,6 +2045,7 @@
20422045
to compile. It might be revised to use \tcode{std::uncaught_exceptions} instead,
20432046
for clear and portable semantics.
20442047

2048+
\nodiffref
20452049
\change Remove support for adaptable function API.
20462050
\rationale
20472051
The deprecated support relied on a limited convention that could not be
@@ -2056,6 +2060,7 @@
20562060
class templates \tcode{unary_negate} or \tcode{binary_negate}, may fail to
20572061
compile.
20582062

2063+
\nodiffref
20592064
\change Remove redundant members from \tcode{std::allocator}.
20602065
\rationale
20612066
\tcode{std::allocator} was overspecified, encouraging direct usage in user containers
@@ -2067,6 +2072,7 @@
20672072
\tcode{max_size} members of \tcode{std::allocator}, or that directly calls
20682073
\tcode{allocate} with an additional hint argument, may fail to compile.
20692074

2075+
\nodiffref
20702076
\change Remove \tcode{raw_memory_iterator}.
20712077
\rationale
20722078
The iterator encouraged use of algorithms that might throw exceptions, but did
@@ -2075,6 +2081,7 @@
20752081
\effect
20762082
A valid \CppXVII{} program that uses this iterator class may fail to compile.
20772083

2084+
\nodiffref
20782085
\change Remove temporary buffers API.
20792086
\rationale
20802087
The temporary buffer facility was intended to provide an efficient optimization
@@ -2085,6 +2092,7 @@
20852092
A valid \CppXVII{} program that calls \tcode{get_temporary_buffer} or
20862093
\tcode{return_temporary_buffer} may fail to compile.
20872094

2095+
\nodiffref
20882096
\change Remove \tcode{shared_ptr::unique}.
20892097
\rationale
20902098
The result of a call to this member function is not reliable in the presence of

source/macros.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@
327327
\newcommand{\diffdef}[1]{\hfill\break\textbf{#1:}\space}
328328
\newcommand{\diffref}[1]{\pnum\textbf{Affected subclause:} \ref{#1}}
329329
\newcommand{\diffrefs}[2]{\pnum\textbf{Affected subclauses:} \ref{#1}, \ref{#2}}
330+
% \nodiffref swallows a following \change and removes the preceding line break.
331+
\def\nodiffref\change{\pnum\textbf{Change:}\space}
330332
\newcommand{\change}{\diffdef{Change}}
331333
\newcommand{\rationale}{\diffdef{Rationale}}
332334
\newcommand{\effect}{\diffdef{Effect on original feature}}

0 commit comments

Comments
 (0)