Skip to content

Commit ecb0716

Browse files
jensmaurertkoeppe
authored andcommitted
[std] Remove incorrect or duplicative 'this subclause' introducers
Fixes ISO/CS comment (C++23 proof)
1 parent 69f184e commit ecb0716

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

source/numerics.tex

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@
15561556
\rSec3[rand.req.genl]{General requirements}%
15571557

15581558
\pnum
1559-
Throughout this subclause \ref{rand},
1559+
Throughout \ref{rand},
15601560
the effect of instantiating a template:
15611561
\begin{itemize}
15621562
\item
@@ -1616,15 +1616,15 @@
16161616
\end{itemize}
16171617

16181618
\pnum
1619-
Throughout this subclause \ref{rand},
1619+
Throughout \ref{rand},
16201620
phrases of the form ``\tcode{x} is an iterator of a specific kind''
16211621
shall be interpreted as equivalent to the more formal requirement that
16221622
``\tcode{x} is a value
16231623
of a type meeting the requirements
16241624
of the specified iterator type''.
16251625

16261626
\pnum
1627-
Throughout this subclause \ref{rand},
1627+
Throughout \ref{rand},
16281628
any constructor that can be called with a single argument
16291629
and that meets a requirement specified in this subclause
16301630
shall be declared \keyword{explicit}.
@@ -1659,7 +1659,7 @@
16591659
in \tref{rand.req.seedseq}
16601660
are valid and have the indicated semantics,
16611661
and if \tcode{S} also meets all other requirements
1662-
of this subclause \ref{rand.req.seedseq}.
1662+
of \ref{rand.req.seedseq}.
16631663
In \tref{rand.req.seedseq} and throughout this subclause:
16641664
\begin{itemize}
16651665
\item
@@ -1875,7 +1875,7 @@
18751875
in \tref{rand.req.eng}
18761876
are valid and have the indicated semantics,
18771877
and if \tcode{E} also meets all other requirements
1878-
of this subclause \ref{rand.req.eng}.
1878+
of \ref{rand.req.eng}.
18791879
In \tref{rand.req.eng} and throughout this subclause:
18801880
\begin{itemize}
18811881
\item
@@ -2254,7 +2254,7 @@
22542254
are valid and have the indicated semantics,
22552255
and if \tcode{D} and its associated types
22562256
also meet all other requirements
2257-
of this subclause \ref{rand.req.dist}.
2257+
of \ref{rand.req.dist}.
22582258
In \tref{rand.req.dist} and throughout this subclause,
22592259
\begin{itemize}
22602260
\item
@@ -2465,7 +2465,7 @@
24652465
It is unspecified whether \tcode{D::param_type}
24662466
is declared as a (nested) \keyword{class}
24672467
or via a \keyword{typedef}.
2468-
In this subclause \ref{rand},
2468+
In \ref{rand},
24692469
declarations of \tcode{D::param_type}
24702470
are in the form of \keyword{typedef}s
24712471
for convenience of exposition only.
@@ -2650,7 +2650,7 @@
26502650
If the template parameter
26512651
\tcode{m} is $0$,
26522652
the modulus $m$
2653-
used throughout this subclause~\ref{rand.eng.lcong}
2653+
used throughout \ref{rand.eng.lcong}
26542654
is \tcode{numeric_limits<result_type>::max()} plus $1$.
26552655
\begin{note}
26562656
$m$ need not be representable
@@ -3077,30 +3077,30 @@
30773077

30783078
\pnum
30793079
Each type instantiated
3080-
from a class template specified in this subclause~\ref{rand.adapt}
3080+
from a class template specified in \ref{rand.adapt}
30813081
meets the requirements
30823082
of a random number engine adaptor\iref{rand.req.adapt} type.
30833083

30843084
\pnum
30853085
Except where specified otherwise,
30863086
the complexity of each function
3087-
specified in this subclause~\ref{rand.adapt}
3087+
specified in \ref{rand.adapt}
30883088
is constant.
30893089

30903090
\pnum
30913091
Except where specified otherwise,
3092-
no function described in this subclause~\ref{rand.adapt}
3092+
no function described in \ref{rand.adapt}
30933093
throws an exception.
30943094

30953095
\pnum
3096-
Every function described in this subclause~\ref{rand.adapt}
3096+
Every function described in \ref{rand.adapt}
30973097
that has a function parameter \tcode{q} of type \tcode{Sseq\&}
30983098
for a template type parameter named \tcode{Sseq}
30993099
that is different from type \tcode{seed_seq}
31003100
throws what and when the invocation of \tcode{q.generate} throws.
31013101

31023102
\pnum
3103-
Descriptions are provided in this subclause~\ref{rand.adapt}
3103+
Descriptions are provided in \ref{rand.adapt}
31043104
only for adaptor operations
31053105
that are not described in subclause~\ref{rand.req.adapt}
31063106
or for operations where there is additional semantic information.
@@ -3112,7 +3112,7 @@
31123112
are not shown in the synopses.
31133113

31143114
\pnum
3115-
Each template specified in this subclause~\ref{rand.adapt}
3115+
Each template specified in \ref{rand.adapt}
31163116
requires one or more relationships,
31173117
involving the value(s) of its non-type template parameter(s), to hold.
31183118
A program instantiating any of these templates
@@ -4142,12 +4142,12 @@
41424142

41434143
\pnum
41444144
Each type instantiated
4145-
from a class template specified in this subclause~\ref{rand.dist}
4145+
from a class template specified in \ref{rand.dist}
41464146
meets the requirements
41474147
of a random number distribution\iref{rand.req.dist} type.
41484148

41494149
\pnum
4150-
Descriptions are provided in this subclause~\ref{rand.dist}
4150+
Descriptions are provided in \ref{rand.dist}
41514151
only for distribution operations
41524152
that are not described in \ref{rand.req.dist}
41534153
or for operations where there is additional semantic information.

source/strings.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
denotes an lvalue of type
109109
\tcode{C}.
110110
No expression which is part of the character traits requirements
111-
specified in this subclause \ref{char.traits.require}
111+
specified in \ref{char.traits.require}
112112
shall exit via an exception.
113113

114114
\begin{libreqtab4d}

source/threads.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8919,7 +8919,7 @@
89198919
\rSec3[thread.condition.condvarany.general]{General}
89208920

89218921
\pnum
8922-
In this subclause \ref{thread.condition.condvarany},
8922+
In \ref{thread.condition.condvarany},
89238923
template arguments for template parameters named \tcode{Lock}
89248924
shall meet the \oldconcept{Basic\-Lockable}
89258925
requirements\iref{thread.req.lockable.basic}.

0 commit comments

Comments
 (0)