Skip to content

[lib] Fix uses of "clause" #4104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/algorithms.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10103,7 +10103,7 @@
\end{note}

\pnum
Some algorithms specified in this clause make use of the exposition-only function
Some algorithms specified in this Clause make use of the exposition-only function
\tcode{\placeholdernc{voidify}}:
\begin{codeblock}
template<class T>
Expand Down
2 changes: 1 addition & 1 deletion source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
\tcode{const_iterator} type referring to the same element with no change in semantics.

\pnum
Unless otherwise specified, all containers defined in this clause obtain memory
Unless otherwise specified, all containers defined in this Clause obtain memory
using an allocator (see~\ref{allocator.requirements}).
\begin{note}
In particular, containers and iterators do not store references
Expand Down
2 changes: 1 addition & 1 deletion source/iostreams.tex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
\pnum
\begin{note}
\fref{iostreams.streampos} illustrates relationships among various types
described in this clause. A line from \textbf{A} to \textbf{B} indicates that \textbf{A}
described in this Clause. A line from \textbf{A} to \textbf{B} indicates that \textbf{A}
is an alias (e.g., a typedef) for \textbf{B} or that \textbf{A} is defined in terms of
\textbf{B}.

Expand Down
2 changes: 1 addition & 1 deletion source/iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4902,7 +4902,7 @@

\begin{itemdescr}
\pnum
The expression in the requires clause is equivalent to:
The expression in the \grammarterm{requires-clause} is equivalent to:
\begin{codeblock}
@\libconcept{indirectly_readable}@<const I> &&
(requires(const I& i) { i.operator->(); } ||
Expand Down
2 changes: 1 addition & 1 deletion source/locales.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@
in case of a parse error.

\pnum
Within this clause it is unspecified whether one virtual function calls another
Within this Clause it is unspecified whether one virtual function calls another
virtual function.

\rSec2[category.ctype]{The \tcode{ctype} category}
Expand Down
2 changes: 1 addition & 1 deletion source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9873,7 +9873,7 @@
for which:
\begin{itemize}
\item
the function description's \returns clause
the function description's \returns element
explicitly specifies a domain
and those argument values fall
outside the specified domain,
Expand Down
6 changes: 3 additions & 3 deletions source/threads.tex
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
in~\ref{res.on.exception.handling}.

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

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

\pnum
Expand Down
2 changes: 1 addition & 1 deletion source/time.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8754,7 +8754,7 @@
\pnum
\throws
If a \tcode{const time_zone*} cannot be found
as described in the \returns clause,
as described in the \returns element,
throws a \tcode{runtime_error}.
\begin{note}
On non-exceptional return, the return value is always a pointer to a valid \tcode{time_zone}.
Expand Down