Skip to content

Commit 433fcd7

Browse files
committed
Replace "possibly \tcode{const}" with "possibly const"
The "const" here is not syntax, but just normal text. This is similar to "inline" and "public", which have previously been cleaned up similarly.
1 parent 1b4ae38 commit 433fcd7

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

source/algorithms.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
\exposconcept{boolean-testable}\iref{concept.booleantestable}.
159159
The function object \tcode{pred} shall not apply any non-constant function
160160
through its argument.
161-
Given a glvalue \tcode{u} of type (possibly \keyword{const}) \tcode{T}
161+
Given a glvalue \tcode{u} of type (possibly const) \tcode{T}
162162
that designates the same object as \tcode{*first},
163163
\tcode{pred(u)} shall be a valid expression
164164
that is equal to \tcode{pred(*first)}.
@@ -185,9 +185,9 @@
185185
\exposconcept{boolean-testable}.
186186
\tcode{binary_pred} shall not apply any non-constant function
187187
through any of its arguments.
188-
Given a glvalue \tcode{u} of type (possibly \keyword{const}) \tcode{T1}
188+
Given a glvalue \tcode{u} of type (possibly const) \tcode{T1}
189189
that designates the same object as \tcode{*first1}, and
190-
a glvalue \tcode{v} of type (possibly \keyword{const}) \tcode{T2}
190+
a glvalue \tcode{v} of type (possibly const) \tcode{T2}
191191
that designates the same object as \tcode{*first2},
192192
\tcode{binary_pred(u, *first2)},
193193
\tcode{binary_pred(*first1, v)}, and

source/iostreams.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -13667,7 +13667,7 @@
1366713667
\tcode{basic_string} or \tcode{basic_string_view}, or
1366813668
\item
1366913669
the \grammarterm{qualified-id} \tcode{iterator_traits<decay_t<Source>>::value_type} is valid and
13670-
denotes a possibly \keyword{const} encoded character type\iref{temp.deduct}.
13670+
denotes a possibly const encoded character type\iref{temp.deduct}.
1367113671
\end{itemize}
1367213672

1367313673
\pnum

source/lib-intro.tex

+8-8
Original file line numberDiff line numberDiff line change
@@ -1599,15 +1599,15 @@
15991599
\item
16001600
\tcode{a},
16011601
\tcode{b}, and
1602-
\tcode{c} denote values of type (possibly \keyword{const}) \tcode{T},
1602+
\tcode{c} denote values of type (possibly const) \tcode{T},
16031603
\item
16041604
\tcode{s} and \tcode{t} denote modifiable lvalues of type \tcode{T},
16051605
\item
16061606
\tcode{u} denotes an identifier,
16071607
\item
16081608
\tcode{rv} denotes an rvalue of type \tcode{T}, and
16091609
\item
1610-
\tcode{v} denotes an lvalue of type (possibly \keyword{const}) \tcode{T} or an
1610+
\tcode{v} denotes an lvalue of type (possibly const) \tcode{T} or an
16111611
rvalue of type \tcode{const T}.
16121612
\end{itemize}
16131613

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

18671867
\begin{oldconcepttable}{NullablePointer}{}{cpp17.nullablepointer}
18681868
{lx{2in}l}
@@ -1915,9 +1915,9 @@
19151915

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

19221922
\begin{oldconcepttable}{Hash}{}{cpp17.hash}
19231923
{llp{.55\hsize}}
@@ -1998,7 +1998,7 @@
19981998
\item
19991999
\tcode{y} denotes a value of type \tcode{XX::const_void_pointer}
20002000
obtained by conversion from a result value of \tcode{YY::allocate}, or else
2001-
a value of type (possibly \tcode{const}) \tcode{std::nullptr_t},
2001+
a value of type (possibly const) \tcode{std::nullptr_t},
20022002
\item
20032003
\tcode{n} denotes a value of type \tcode{XX::size_type},
20042004
\item
@@ -2658,7 +2658,7 @@
26582658
\pnum
26592659
\returns
26602660
\tcode{true_type} only if the expression \tcode{a1 == a2} is guaranteed
2661-
to be \tcode{true} for any two (possibly \tcode{const}) values
2661+
to be \tcode{true} for any two (possibly const) values
26622662
\tcode{a1}, \tcode{a2} of type \tcode{X}.
26632663

26642664
\pnum

source/numerics.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@
17891789
\item
17901790
\tcode{e} is a value of \tcode{E},
17911791
\tcode{v} is an lvalue of \tcode{E},
1792-
\tcode{x} and \tcode{y} are (possibly \keyword{const}) values of \tcode{E};
1792+
\tcode{x} and \tcode{y} are (possibly const) values of \tcode{E};
17931793
\item
17941794
\tcode{s} is a value of \tcode{T};
17951795
\item
@@ -2172,7 +2172,7 @@
21722172
\tcode{d} is a
21732173
value of \tcode{D},
21742174
and
2175-
\tcode{x} and \tcode{y} are (possibly \keyword{const}) values of \tcode{D};
2175+
\tcode{x} and \tcode{y} are (possibly const) values of \tcode{D};
21762176
\item
21772177
\tcode{glb} and \tcode{lub}
21782178
are values of \tcode{T}
@@ -2181,7 +2181,7 @@
21812181
on the values potentially returned by \tcode{d}'s \tcode{operator()},
21822182
as determined by the current values of \tcode{d}'s parameters;
21832183
\item
2184-
\tcode{p} is a (possibly \keyword{const}) value of \tcode{P};
2184+
\tcode{p} is a (possibly const) value of \tcode{P};
21852185
\item
21862186
\tcode{g}, \tcode{g1}, and \tcode{g2} are lvalues of a type
21872187
meeting the requirements

source/utilities.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -15656,7 +15656,7 @@
1565615656
\tcode{Out}, and formatting argument type \tcode{T},
1565715657
in \tref{formatter.basic} and \tref{formatter}:
1565815658
\begin{itemize}
15659-
\item \tcode{f} is a value of type (possibly \tcode{const}) \tcode{F},
15659+
\item \tcode{f} is a value of type (possibly const) \tcode{F},
1566015660
\item \tcode{g} is an lvalue of type \tcode{F},
1566115661
\item \tcode{u} is an lvalue of type \tcode{T},
1566215662
\item \tcode{t} is a value of a type convertible to (possibly const) \tcode{T},

0 commit comments

Comments
 (0)