Skip to content

Commit 69f184e

Browse files
jensmaurertkoeppe
authored andcommitted
[std] Remove mid-sentence 'subclause' introducer
Fixes ISO/CS comment (C++23 proof)
1 parent 5269d41 commit 69f184e

File tree

11 files changed

+19
-19
lines changed

11 files changed

+19
-19
lines changed

source/concepts.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@
12221222
\rSec2[concepts.callable.general]{General}
12231223

12241224
\pnum
1225-
The concepts in subclause \ref{concepts.callable} describe the requirements on function
1225+
The concepts in \ref{concepts.callable} describe the requirements on function
12261226
objects\iref{function.objects} and their arguments.
12271227

12281228
\rSec2[concept.invocable]{Concept \cname{invocable}}

source/containers.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
\rSec3[container.intro.reqmts]{Introduction}
7575

7676
\pnum
77-
In subclause \ref{container.requirements.general},
77+
In \ref{container.requirements.general},
7878
\begin{itemize}
7979
\item
8080
\tcode{X} denotes a container class containing objects of type \tcode{T},
@@ -19108,7 +19108,7 @@
1910819108

1910919109
The class template \tcode{extents} represents
1911019110
a multidimensional index space of rank equal to \tcode{sizeof...(Extents)}.
19111-
In subclause \iref{views},
19111+
In \iref{views},
1911219112
\tcode{extents} is used synonymously with multidimensional index space.
1911319113

1911419114
\begin{codeblock}
@@ -19519,7 +19519,7 @@
1951919519
\rSec4[mdspan.layout.general]{General}
1952019520

1952119521
\pnum
19522-
In subclauses \ref{mdspan.layout.reqmts} and \ref{mdspan.layout.policy.reqmts}:
19522+
In \ref{mdspan.layout.reqmts} and \ref{mdspan.layout.policy.reqmts}:
1952319523

1952419524
\begin{itemize}
1952519525
\item
@@ -19546,7 +19546,7 @@
1954619546
\end{itemize}
1954719547

1954819548
\pnum
19549-
In subclauses \ref{mdspan.layout.reqmts} through \ref{mdspan.layout.stride}:
19549+
In \ref{mdspan.layout.reqmts} through \ref{mdspan.layout.stride}:
1955019550
\begin{itemize}
1955119551
\item
1955219552
Let \exposid{is-mapping-of} be the exposition-only variable template defined as follows:
@@ -22205,7 +22205,7 @@
2220522205
the accessor policy's \tcode{access} function produces a valid reference to an object.
2220622206

2220722207
\pnum
22208-
In subclause \ref{mdspan.accessor.reqmts},
22208+
In \ref{mdspan.accessor.reqmts},
2220922209

2221022210
\begin{itemize}
2221122211
\item
@@ -22996,7 +22996,7 @@
2299622996
the \tcode{SliceSpecifier} arguments.
2299722997

2299822998
\pnum
22999-
For each function defined in subclause \ref{mdspan.sub} that
22999+
For each function defined in \ref{mdspan.sub} that
2300023000
takes a parameter pack named \tcode{slices} as an argument:
2300123001

2300223002
\begin{itemize}

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
considered where necessary to convert the operands to types appropriate
5454
for the built-in operator. If a built-in operator is selected, such
5555
conversions will be applied to the operands before the operation is
56-
considered further according to the rules in subclause \ref{expr.compound};
56+
considered further according to the rules in \ref{expr.compound};
5757
see~\ref{over.match.oper}, \ref{over.built}.
5858

5959
\pnum

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10024,7 +10024,7 @@
1002410024
\begin{note}
1002510025
A user of these classes is responsible for ensuring
1002610026
that the character sequence represented by the given \tcode{span}
10027-
outlives the use of the sequence by objects of the classes in subclause \ref{span.streams}.
10027+
outlives the use of the sequence by objects of the classes in \ref{span.streams}.
1002810028
Using multiple \tcode{basic_spanbuf} objects
1002910029
referring to overlapping underlying sequences from different threads,
1003010030
where at least one \tcode{basic_spanbuf} object is used

source/lib-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,7 @@
20542054
allocators.
20552055

20562056
\pnum
2057-
In subclause \ref{allocator.requirements},
2057+
In \ref{allocator.requirements},
20582058
\begin{itemize}
20592059
\item
20602060
\tcode{T}, \tcode{U}, \tcode{C} denote

source/locales.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@
959959
but set to \tcode{ios_base::failbit} in case of a parse error.
960960

961961
\pnum
962-
Within subclause \ref{locale.categories} it is unspecified whether
962+
Within \ref{locale.categories} it is unspecified whether
963963
one virtual function calls another virtual function.
964964

965965
\rSec2[category.ctype]{The \tcode{ctype} category}

source/memory.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3275,7 +3275,7 @@
32753275
reflect modifications that can introduce data races.
32763276

32773277
\pnum
3278-
For the purposes of subclause \ref{smartptr},
3278+
For the purposes of \ref{smartptr},
32793279
a pointer type \tcode{Y*} is said to be
32803280
\defnx{compatible with}{compatible with!\idxcode{shared_ptr}}
32813281
a pointer type \tcode{T*} when either

source/preface.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ \chapter{Introduction}
99
Clauses and subclauses in this document are annotated
1010
with a so-called stable name,
1111
presented in square brackets next to the (sub)clause heading
12-
(such as ``[lex.token]'' for subclause \ref{lex.token}, ``Tokens'').
12+
(such as ``[lex.token]'' for \ref{lex.token}, ``Tokens'').
1313
Stable names aid in the discussion and evolution of this document
1414
by serving as stable references to subclauses across editions
1515
that are unaffected by changes of subclause numbering.

source/ranges.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@
16271627
\rSec2[range.utility.helpers]{Helper concepts}
16281628

16291629
\pnum
1630-
Many of the types in subclause~\ref{range.utility} are specified in terms of
1630+
Many of the types in \ref{range.utility} are specified in terms of
16311631
the following exposition-only concepts:
16321632

16331633
\begin{codeblock}
@@ -4233,7 +4233,7 @@
42334233
\rSec2[range.nonprop.cache]{Non-propagating cache}
42344234

42354235
\pnum
4236-
Some types in subclause \ref{range.adaptors} are specified in terms of
4236+
Some types in \ref{range.adaptors} are specified in terms of
42374237
an exposition-only class template \exposid{non-propagating-\brk{}cache}.
42384238
\tcode{\exposid{non-propagating-cache}<T>} behaves exactly like \tcode{optional<T>}
42394239
with the following differences:

source/support.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4335,7 +4335,7 @@
43354335
an argument other than a literal \tcode{0} is undefined.
43364336

43374337
\pnum
4338-
For the purposes of subclause \ref{cmp.categories},
4338+
For the purposes of \ref{cmp.categories},
43394339
\defn{substitutability} is the property that \tcode{f(a) == f(b)} is \tcode{true}
43404340
whenever \tcode{a == b} is \tcode{true},
43414341
where \tcode{f} denotes a function that reads only comparison-salient state

source/utilities.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4873,7 +4873,7 @@
48734873
These template arguments are called alternatives.
48744874

48754875
\pnum
4876-
In subclause \ref{variant},
4876+
In \ref{variant},
48774877
\exposid{GET} denotes
48784878
a set of exposition-only function templates\iref{variant.get}.
48794879

@@ -11026,7 +11026,7 @@
1102611026
The template parameter \tcode{T} of \tcode{reference_wrapper}
1102711027
may be an incomplete type.
1102811028
\begin{note}
11029-
Using the comparison operators described in subclause \ref{refwrap.comparisons}
11029+
Using the comparison operators described in \ref{refwrap.comparisons}
1103011030
with \tcode{T} being an incomplete type
1103111031
can lead to an ill-formed program
1103211032
with no diagnostic required\iref{temp.point,temp.constr.atomic}.
@@ -14312,7 +14312,7 @@
1431214312
that models \libconcept{copyable}.
1431314313

1431414314
\pnum
14315-
Within subclause \ref{func.wrap.ref},
14315+
Within \ref{func.wrap.ref},
1431614316
\tcode{\placeholder{call-args}} is an argument pack with elements such that
1431714317
\tcode{decltype((\placeholder{call-args}\linebreak{}))...} denote
1431814318
\tcode{Args\&\&...} respectively.

0 commit comments

Comments
 (0)