Skip to content

Commit 6ac92b8

Browse files
jensmaurertkoeppe
authored andcommitted
[utilities] Remove \placeholder when naming a specific type (#1869)
1 parent 2da6e6a commit 6ac92b8

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

source/utilities.tex

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1811,19 +1811,19 @@
18111811

18121812
\begin{itemdescr}
18131813
\pnum
1814-
Let \tcode{\placeholder{TS}} denote \tcode{tuple_size<T>} of the \cv-unqualified type \tcode{T}.
1815-
If the expression \tcode{\placeholder{TS}::value} is well-formed
1814+
Let \tcode{TS} denote \tcode{tuple_size<T>} of the \cv-unqualified type \tcode{T}.
1815+
If the expression \tcode{TS::value} is well-formed
18161816
when treated as an unevaluated operand, then each
18171817
of the three templates shall meet the \tcode{UnaryTypeTrait} requirements\iref{meta.rqmts}
18181818
with a base characteristic of
18191819
\begin{codeblock}
1820-
integral_constant<size_t, @\placeholder{TS}@::value>
1820+
integral_constant<size_t, TS::value>
18211821
\end{codeblock}
18221822
Otherwise, they shall have no member \tcode{value}.
18231823

18241824
\pnum
18251825
Access checking is performed as if in a context
1826-
unrelated to \tcode{\placeholder{TS}} and \tcode{T}.
1826+
unrelated to \tcode{TS} and \tcode{T}.
18271827
Only the validity of the immediate context of the expression is considered.
18281828
\begin{note}
18291829
The compilation of the expression can result in side effects
@@ -1848,18 +1848,18 @@
18481848

18491849
\begin{itemdescr}
18501850
\pnum
1851-
Let \tcode{\placeholder{TE}} denote \tcode{tuple_element_t<I, T>} of the \cv-unqualified type \tcode{T}. Then
1851+
Let \tcode{TE} denote \tcode{tuple_element_t<I, T>} of the \cv-unqualified type \tcode{T}. Then
18521852
each of the three templates shall meet the \tcode{TransformationTrait}
18531853
requirements\iref{meta.rqmts} with a member typedef \tcode{type} that names the following
18541854
type:
18551855

18561856
\begin{itemize}
18571857
\item
1858-
for the first specialization, \tcode{add_const_t<\placeholder{TE}>},
1858+
for the first specialization, \tcode{add_const_t<TE>},
18591859
\item
1860-
for the second specialization, \tcode{add_volatile_t<\placeholder{TE}>}, and
1860+
for the second specialization, \tcode{add_volatile_t<TE>}, and
18611861
\item
1862-
for the third specialization, \tcode{add_cv_t<\placeholder{TE}>}.
1862+
for the third specialization, \tcode{add_cv_t<TE>}.
18631863
\end{itemize}
18641864

18651865
\pnum
@@ -8877,22 +8877,22 @@
88778877

88788878
\begin{itemdescr}
88798879
\pnum
8880-
\requires Let \tcode{\placeholder{CT}} denote
8880+
\requires Let \tcode{CT} denote
88818881
\begin{codeblock}
88828882
common_type_t<typename unique_ptr<T1, D1>::pointer,
88838883
typename unique_ptr<T2, D2>::pointer>
88848884
\end{codeblock}
88858885
Then the specialization
8886-
\tcode{less<\placeholder{CT}>} shall be a function object type\iref{function.objects} that
8886+
\tcode{less<CT>} shall be a function object type\iref{function.objects} that
88878887
induces a strict weak ordering\iref{alg.sorting} on the pointer values.
88888888

88898889
\pnum
8890-
\returns \tcode{less<\placeholder{CT}>()(x.get(), y.get())}.
8890+
\returns \tcode{less<CT>()(x.get(), y.get())}.
88918891

88928892
\pnum
88938893
\remarks If \tcode{unique_ptr<T1, D1>::pointer} is not implicitly convertible
8894-
to \tcode{\placeholder{CT}} or \tcode{unique_ptr<T2, D2>::pointer} is not implicitly
8895-
convertible to \tcode{\placeholder{CT}}, the program is ill-formed.
8894+
to \tcode{CT} or \tcode{unique_ptr<T2, D2>::pointer} is not implicitly
8895+
convertible to \tcode{CT}, the program is ill-formed.
88968896
\end{itemdescr}
88978897

88988898
\indexlibrarymember{operator<=}{unique_ptr}%
@@ -18294,7 +18294,7 @@
1829418294
\rSec3[time.duration.comparisons]{\tcode{duration} comparisons}
1829518295

1829618296
\pnum
18297-
In the function descriptions that follow, \tcode{\placeholder{CT}} represents
18297+
In the function descriptions that follow, \tcode{CT} represents
1829818298
\tcode{common_type_t<A, B>}, where \tcode{A} and \tcode{B} are the types of
1829918299
the two arguments to the function.
1830018300

@@ -18307,7 +18307,7 @@
1830718307

1830818308
\begin{itemdescr}
1830918309
\pnum
18310-
\returns \tcode{\placeholder{CT}(lhs).count() == \placeholder{CT}(rhs).count()}.
18310+
\returns \tcode{CT(lhs).count() == CT(rhs).count()}.
1831118311
\end{itemdescr}
1831218312

1831318313
\indexlibrarymember{operator"!=}{duration}%
@@ -18331,7 +18331,7 @@
1833118331

1833218332
\begin{itemdescr}
1833318333
\pnum
18334-
\returns \tcode{\placeholder{CT}(lhs).count() < \placeholder{CT}(rhs).count()}.
18334+
\returns \tcode{CT(lhs).count() < CT(rhs).count()}.
1833518335
\end{itemdescr}
1833618336

1833718337
\indexlibrarymember{operator<=}{duration}%
@@ -18760,7 +18760,7 @@
1876018760

1876118761
\begin{itemdescr}
1876218762
\pnum
18763-
\returns \tcode{\placeholder{CT}(lhs.time_since_epoch() + rhs)}, where \tcode{\placeholder{CT}} is the type of the return value.
18763+
\returns \tcode{CT(lhs.time_since_epoch() + rhs)}, where \tcode{CT} is the type of the return value.
1876418764
\end{itemdescr}
1876518765

1876618766
\indexlibrarymember{operator+}{time_point}%
@@ -18786,8 +18786,8 @@
1878618786

1878718787
\begin{itemdescr}
1878818788
\pnum
18789-
\returns \tcode{\placeholder{CT}(lhs.time_since_epoch() - rhs)},
18790-
where \tcode{\placeholder{CT}} is the type of the return value.
18789+
\returns \tcode{CT(lhs.time_since_epoch() - rhs)},
18790+
where \tcode{CT} is the type of the return value.
1879118791
\end{itemdescr}
1879218792

1879318793
\indexlibrarymember{operator-}{time_point}%

0 commit comments

Comments
 (0)