Skip to content

Commit fdf3a92

Browse files
committed
[std] Remove mid-sentence 'subclause' introducer
Fixes ISO/CS comment (C++23 proof)
1 parent 85f4bb4 commit fdf3a92

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},
@@ -19128,7 +19128,7 @@
1912819128

1912919129
The class template \tcode{extents} represents
1913019130
a multidimensional index space of rank equal to \tcode{sizeof...(Extents)}.
19131-
In subclause \iref{views},
19131+
In \iref{views},
1913219132
\tcode{extents} is used synonymously with multidimensional index space.
1913319133

1913419134
\begin{codeblock}
@@ -19539,7 +19539,7 @@
1953919539
\rSec4[mdspan.layout.general]{General}
1954019540

1954119541
\pnum
19542-
In subclauses \ref{mdspan.layout.reqmts} and \ref{mdspan.layout.policy.reqmts}:
19542+
In \ref{mdspan.layout.reqmts} and \ref{mdspan.layout.policy.reqmts}:
1954319543

1954419544
\begin{itemize}
1954519545
\item
@@ -19566,7 +19566,7 @@
1956619566
\end{itemize}
1956719567

1956819568
\pnum
19569-
In subclauses \ref{mdspan.layout.reqmts} through \ref{mdspan.layout.stride}:
19569+
In \ref{mdspan.layout.reqmts} through \ref{mdspan.layout.stride}:
1957019570
\begin{itemize}
1957119571
\item
1957219572
Let \exposid{is-mapping-of} be the exposition-only variable template defined as follows:
@@ -22225,7 +22225,7 @@
2222522225
the accessor policy's \tcode{access} function produces a valid reference to an object.
2222622226

2222722227
\pnum
22228-
In subclause \ref{mdspan.accessor.reqmts},
22228+
In \ref{mdspan.accessor.reqmts},
2222922229

2223022230
\begin{itemize}
2223122231
\item
@@ -23016,7 +23016,7 @@
2301623016
the \tcode{SliceSpecifier} arguments.
2301723017

2301823018
\pnum
23019-
For each function defined in subclause \ref{mdspan.sub} that
23019+
For each function defined in \ref{mdspan.sub} that
2302023020
takes a parameter pack named \tcode{slices} as an argument:
2302123021

2302223022
\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
@@ -10002,7 +10002,7 @@
1000210002
\begin{note}
1000310003
A user of these classes is responsible for ensuring
1000410004
that the character sequence represented by the given \tcode{span}
10005-
outlives the use of the sequence by objects of the classes in subclause \ref{span.streams}.
10005+
outlives the use of the sequence by objects of the classes in \ref{span.streams}.
1000610006
Using multiple \tcode{basic_spanbuf} objects
1000710007
referring to overlapping underlying sequences from different threads,
1000810008
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
@@ -4332,7 +4332,7 @@
43324332
an argument other than a literal \tcode{0} is undefined.
43334333

43344334
\pnum
4335-
For the purposes of subclause \ref{cmp.categories},
4335+
For the purposes of \ref{cmp.categories},
43364336
\defn{substitutability} is the property that \tcode{f(a) == f(b)} is \tcode{true}
43374337
whenever \tcode{a == b} is \tcode{true},
43384338
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)