Skip to content

Replace "possibly \tcode{const}" with "possibly const" #6025

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
Dec 16, 2022
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
6 changes: 3 additions & 3 deletions source/algorithms.tex
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
\exposconcept{boolean-testable}\iref{concept.booleantestable}.
The function object \tcode{pred} shall not apply any non-constant function
through its argument.
Given a glvalue \tcode{u} of type (possibly \keyword{const}) \tcode{T}
Given a glvalue \tcode{u} of type (possibly const) \tcode{T}
that designates the same object as \tcode{*first},
\tcode{pred(u)} shall be a valid expression
that is equal to \tcode{pred(*first)}.
Expand All @@ -185,9 +185,9 @@
\exposconcept{boolean-testable}.
\tcode{binary_pred} shall not apply any non-constant function
through any of its arguments.
Given a glvalue \tcode{u} of type (possibly \keyword{const}) \tcode{T1}
Given a glvalue \tcode{u} of type (possibly const) \tcode{T1}
that designates the same object as \tcode{*first1}, and
a glvalue \tcode{v} of type (possibly \keyword{const}) \tcode{T2}
a glvalue \tcode{v} of type (possibly const) \tcode{T2}
that designates the same object as \tcode{*first2},
\tcode{binary_pred(u, *first2)},
\tcode{binary_pred(*first1, v)}, and
Expand Down
2 changes: 1 addition & 1 deletion source/iostreams.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13667,7 +13667,7 @@
\tcode{basic_string} or \tcode{basic_string_view}, or
\item
the \grammarterm{qualified-id} \tcode{iterator_traits<decay_t<Source>>::value_type} is valid and
denotes a possibly \keyword{const} encoded character type\iref{temp.deduct}.
denotes a possibly const encoded character type\iref{temp.deduct}.
\end{itemize}

\pnum
Expand Down
16 changes: 8 additions & 8 deletions source/lib-intro.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1599,15 +1599,15 @@
\item
\tcode{a},
\tcode{b}, and
\tcode{c} denote values of type (possibly \keyword{const}) \tcode{T},
\tcode{c} denote values of type (possibly const) \tcode{T},
\item
\tcode{s} and \tcode{t} denote modifiable lvalues of type \tcode{T},
\item
\tcode{u} denotes an identifier,
\item
\tcode{rv} denotes an rvalue of type \tcode{T}, and
\item
\tcode{v} denotes an lvalue of type (possibly \keyword{const}) \tcode{T} or an
\tcode{v} denotes an lvalue of type (possibly const) \tcode{T} or an
rvalue of type \tcode{const T}.
\end{itemize}

Expand Down Expand Up @@ -1861,8 +1861,8 @@
\pnum
In \tref{cpp17.nullablepointer}, \tcode{u} denotes an identifier, \tcode{t}
denotes a non-\keyword{const} lvalue of type \tcode{P}, \tcode{a} and \tcode{b}
denote values of type (possibly \keyword{const}) \tcode{P}, and \tcode{np} denotes
a value of type (possibly \keyword{const}) \tcode{std::nullptr_t}.
denote values of type (possibly const) \tcode{P}, and \tcode{np} denotes
a value of type (possibly const) \tcode{std::nullptr_t}.

\begin{oldconcepttable}{NullablePointer}{}{cpp17.nullablepointer}
{lx{2in}l}
Expand Down Expand Up @@ -1915,9 +1915,9 @@

\pnum
Given \tcode{Key} is an argument type for function objects of type \tcode{H}, in
\tref{cpp17.hash} \tcode{h} is a value of type (possibly \keyword{const}) \tcode{H},
\tref{cpp17.hash} \tcode{h} is a value of type (possibly const) \tcode{H},
\tcode{u} is an lvalue of type \tcode{Key}, and \tcode{k} is a value of a type convertible to
(possibly \keyword{const}) \tcode{Key}.
(possibly const) \tcode{Key}.

\begin{oldconcepttable}{Hash}{}{cpp17.hash}
{llp{.55\hsize}}
Expand Down Expand Up @@ -1998,7 +1998,7 @@
\item
\tcode{y} denotes a value of type \tcode{XX::const_void_pointer}
obtained by conversion from a result value of \tcode{YY::allocate}, or else
a value of type (possibly \tcode{const}) \tcode{std::nullptr_t},
a value of type (possibly const) \tcode{std::nullptr_t},
\item
\tcode{n} denotes a value of type \tcode{XX::size_type},
\item
Expand Down Expand Up @@ -2658,7 +2658,7 @@
\pnum
\returns
\tcode{true_type} only if the expression \tcode{a1 == a2} is guaranteed
to be \tcode{true} for any two (possibly \tcode{const}) values
to be \tcode{true} for any two (possibly const) values
\tcode{a1}, \tcode{a2} of type \tcode{X}.

\pnum
Expand Down
6 changes: 3 additions & 3 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@
\item
\tcode{e} is a value of \tcode{E},
\tcode{v} is an lvalue of \tcode{E},
\tcode{x} and \tcode{y} are (possibly \keyword{const}) values of \tcode{E};
\tcode{x} and \tcode{y} are (possibly const) values of \tcode{E};
\item
\tcode{s} is a value of \tcode{T};
\item
Expand Down Expand Up @@ -2172,7 +2172,7 @@
\tcode{d} is a
value of \tcode{D},
and
\tcode{x} and \tcode{y} are (possibly \keyword{const}) values of \tcode{D};
\tcode{x} and \tcode{y} are (possibly const) values of \tcode{D};
\item
\tcode{glb} and \tcode{lub}
are values of \tcode{T}
Expand All @@ -2181,7 +2181,7 @@
on the values potentially returned by \tcode{d}'s \tcode{operator()},
as determined by the current values of \tcode{d}'s parameters;
\item
\tcode{p} is a (possibly \keyword{const}) value of \tcode{P};
\tcode{p} is a (possibly const) value of \tcode{P};
\item
\tcode{g}, \tcode{g1}, and \tcode{g2} are lvalues of a type
meeting the requirements
Expand Down
2 changes: 1 addition & 1 deletion source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15656,7 +15656,7 @@
\tcode{Out}, and formatting argument type \tcode{T},
in \tref{formatter.basic} and \tref{formatter}:
\begin{itemize}
\item \tcode{f} is a value of type (possibly \tcode{const}) \tcode{F},
\item \tcode{f} is a value of type (possibly const) \tcode{F},
\item \tcode{g} is an lvalue of type \tcode{F},
\item \tcode{u} is an lvalue of type \tcode{T},
\item \tcode{t} is a value of a type convertible to (possibly const) \tcode{T},
Expand Down