Skip to content

Commit 392c6d3

Browse files
authored
[lib] Fix uses of "clause" (#4104)
1 parent f61133a commit 392c6d3

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

source/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10103,7 +10103,7 @@
1010310103
\end{note}
1010410104

1010510105
\pnum
10106-
Some algorithms specified in this clause make use of the exposition-only function
10106+
Some algorithms specified in this Clause make use of the exposition-only function
1010710107
\tcode{\placeholdernc{voidify}}:
1010810108
\begin{codeblock}
1010910109
template<class T>

source/containers.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
\tcode{const_iterator} type referring to the same element with no change in semantics.
310310

311311
\pnum
312-
Unless otherwise specified, all containers defined in this clause obtain memory
312+
Unless otherwise specified, all containers defined in this Clause obtain memory
313313
using an allocator (see~\ref{allocator.requirements}).
314314
\begin{note}
315315
In particular, containers and iterators do not store references

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
\pnum
4040
\begin{note}
4141
\fref{iostreams.streampos} illustrates relationships among various types
42-
described in this clause. A line from \textbf{A} to \textbf{B} indicates that \textbf{A}
42+
described in this Clause. A line from \textbf{A} to \textbf{B} indicates that \textbf{A}
4343
is an alias (e.g., a typedef) for \textbf{B} or that \textbf{A} is defined in terms of
4444
\textbf{B}.
4545

source/iterators.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4902,7 +4902,7 @@
49024902

49034903
\begin{itemdescr}
49044904
\pnum
4905-
The expression in the requires clause is equivalent to:
4905+
The expression in the \grammarterm{requires-clause} is equivalent to:
49064906
\begin{codeblock}
49074907
@\libconcept{indirectly_readable}@<const I> &&
49084908
(requires(const I& i) { i.operator->(); } ||

source/locales.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@
10391039
in case of a parse error.
10401040

10411041
\pnum
1042-
Within this clause it is unspecified whether one virtual function calls another
1042+
Within this Clause it is unspecified whether one virtual function calls another
10431043
virtual function.
10441044

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

source/numerics.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9873,7 +9873,7 @@
98739873
for which:
98749874
\begin{itemize}
98759875
\item
9876-
the function description's \returns clause
9876+
the function description's \returns element
98779877
explicitly specifies a domain
98789878
and those argument values fall
98799879
outside the specified domain,

source/threads.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
in~\ref{res.on.exception.handling}.
4949

5050
\begin{example}
51-
Consider a function in this clause that is specified to throw exceptions of type
51+
Consider a function in this Clause that is specified to throw exceptions of type
5252
\tcode{system_error} and specifies error conditions that include
5353
\tcode{operation_not_permitted} for a thread that does not have the privilege to
5454
perform the operation. Assume that, during the execution of this function, an \tcode{errno}
@@ -308,7 +308,7 @@
308308
\rSec2[thread.stoptoken.intro]{Introduction}
309309

310310
\pnum
311-
This clause describes components that can be used
311+
Subclause \ref{thread.stoptoken} describes components that can be used
312312
to asynchonously request that an operation stops execution in a timely manner,
313313
typically because the result is no longer required.
314314
Such a request is called a \defn{stop request}.
@@ -5954,7 +5954,7 @@
59545954
\defnx{shared state}{future!shared state} consists of some state information and some (possibly not
59555955
yet evaluated) \term{result}, which can be a (possibly void) value or an exception.
59565956
\begin{note}
5957-
Futures, promises, and tasks defined in this clause reference such shared state.
5957+
Futures, promises, and tasks defined in this Clause reference such shared state.
59585958
\end{note}
59595959

59605960
\pnum

source/time.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8754,7 +8754,7 @@
87548754
\pnum
87558755
\throws
87568756
If a \tcode{const time_zone*} cannot be found
8757-
as described in the \returns clause,
8757+
as described in the \returns element,
87588758
throws a \tcode{runtime_error}.
87598759
\begin{note}
87608760
On non-exceptional return, the return value is always a pointer to a valid \tcode{time_zone}.

0 commit comments

Comments
 (0)