Skip to content

Commit

Permalink
[std] Remove incorrect or duplicative 'this subclause' introducers
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer committed May 13, 2024
1 parent fdf3a92 commit d2e10df
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@
\rSec3[rand.req.genl]{General requirements}%

\pnum
Throughout this subclause \ref{rand},
Throughout \ref{rand},
the effect of instantiating a template:
\begin{itemize}
\item
Expand Down Expand Up @@ -1616,15 +1616,15 @@
\end{itemize}

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

\pnum
Throughout this subclause \ref{rand},
Throughout \ref{rand},
any constructor that can be called with a single argument
and that meets a requirement specified in this subclause
shall be declared \keyword{explicit}.
Expand Down Expand Up @@ -1659,7 +1659,7 @@
in \tref{rand.req.seedseq}
are valid and have the indicated semantics,
and if \tcode{S} also meets all other requirements
of this subclause \ref{rand.req.seedseq}.
of \ref{rand.req.seedseq}.
In that Table and throughout this subclause:
\begin{itemize}
\item
Expand Down Expand Up @@ -1875,7 +1875,7 @@
in \tref{rand.req.eng}
are valid and have the indicated semantics,
and if \tcode{E} also meets all other requirements
of this subclause \ref{rand.req.eng}.
of \ref{rand.req.eng}.
In that Table and throughout this subclause:
\begin{itemize}
\item
Expand Down Expand Up @@ -2254,7 +2254,7 @@
are valid and have the indicated semantics,
and if \tcode{D} and its associated types
also meet all other requirements
of this subclause \ref{rand.req.dist}.
of \ref{rand.req.dist}.
In that Table and throughout this subclause,
\begin{itemize}
\item
Expand Down Expand Up @@ -2465,7 +2465,7 @@
It is unspecified whether \tcode{D::param_type}
is declared as a (nested) \keyword{class}
or via a \keyword{typedef}.
In this subclause \ref{rand},
In \ref{rand},
declarations of \tcode{D::param_type}
are in the form of \keyword{typedef}s
for convenience of exposition only.
Expand Down Expand Up @@ -2650,7 +2650,7 @@
If the template parameter
\tcode{m} is $0$,
the modulus $m$
used throughout this subclause~\ref{rand.eng.lcong}
used throughout \ref{rand.eng.lcong}
is \tcode{numeric_limits<result_type>::max()} plus $1$.
\begin{note}
$m$ need not be representable
Expand Down Expand Up @@ -3077,30 +3077,30 @@

\pnum
Each type instantiated
from a class template specified in this subclause~\ref{rand.adapt}
from a class template specified in \ref{rand.adapt}
meets the requirements
of a random number engine adaptor\iref{rand.req.adapt} type.

\pnum
Except where specified otherwise,
the complexity of each function
specified in this subclause~\ref{rand.adapt}
specified in \ref{rand.adapt}
is constant.

\pnum
Except where specified otherwise,
no function described in this subclause~\ref{rand.adapt}
no function described in \ref{rand.adapt}
throws an exception.

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

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

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

\pnum
Each type instantiated
from a class template specified in this subclause~\ref{rand.dist}
from a class template specified in \ref{rand.dist}
meets the requirements
of a random number distribution\iref{rand.req.dist} type.

\pnum
Descriptions are provided in this subclause~\ref{rand.dist}
Descriptions are provided in \ref{rand.dist}
only for distribution operations
that are not described in \ref{rand.req.dist}
or for operations where there is additional semantic information.
Expand Down
2 changes: 1 addition & 1 deletion source/strings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
denotes an lvalue of type
\tcode{C}.
No expression which is part of the character traits requirements
specified in this subclause \ref{char.traits.require}
specified in \ref{char.traits.require}
shall exit via an exception.

\begin{libreqtab4d}
Expand Down
2 changes: 1 addition & 1 deletion source/threads.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8919,7 +8919,7 @@
\rSec3[thread.condition.condvarany.general]{General}

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

0 comments on commit d2e10df

Please sign in to comment.