Skip to content

Commit 580dbaf

Browse files
committed
[conv.qual, temp.deduct.conv] Improve presentation of conversion sequences
1 parent a863d2d commit 580dbaf

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

source/conversions.tex

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,9 @@
243243
is a sequence of
244244
$cv_i$ and $P_i$
245245
such that \tcode{T} is
246-
247246
\begin{indented}
248-
``$cv_0$ $P_0$ $cv_1$ $P_1$ $\cdots$ $cv_{n-1}$ $P_{n-1}$ $cv_n$ \tcode{U}'' for \placeholder{n} $> 0$,
247+
``$cv_0$ $P_0$ $cv_1$ $P_1$ $\cdots$ $cv_{n-1}$ $P_{n-1}$ $cv_n$ \tcode{U}'' for $n > 0$,
249248
\end{indented}
250-
251249
where
252250
each $cv_i$ is a set of cv-qualifiers~(\ref{basic.type.qualifier}), and
253251
each $P_i$ is
@@ -263,15 +261,15 @@
263261
has two cv-decompositions,
264262
taking \tcode{U} as ``\tcode{int}'' and as ``pointer to \tcode{const int}''.
265263
\end{example}
266-
The \placeholder{n}-tuple of cv-qualifiers after the first one
264+
The $n$-tuple of cv-qualifiers after the first one
267265
in the longest cv-decomposition of \tcode{T}, that is,
268-
$cv_1$, $cv_2$, $\cdots$, $cv_n$, is called the
266+
$cv_1, cv_2, \dotsc, cv_n$, is called the
269267
\defn{cv-qualification signature} of \tcode{T}.
270268

271269
\pnum
272270
\indextext{type!similar|see{similar types}}%
273271
Two types \tcode{T1} and \tcode{T2} are \defnx{similar}{similar types} if
274-
they have cv-decompositions with the same \placeholder{n}
272+
they have cv-decompositions with the same $n$
275273
such that corresponding $P_i$ components are the same
276274
and the types denoted by \tcode{U} are the same.
277275

source/templates.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6532,16 +6532,16 @@
65326532
is a type
65336533
\begin{indented}
65346534
$\mathit{cv}_{1,0}$ ``pointer to $\ldots$'' $\mathit{cv}_{1,n-1}$ ``pointer to''
6535-
$\mathit{cv}_{1,n}\mathit{T1}$
6535+
$\mathit{cv}_{1,n}$ \tcode{T1}
65366536
\end{indented}
65376537
and
65386538
\tcode{P}
65396539
is a type
65406540
\begin{indented}
65416541
$\mathit{cv}_{2,0}$ ``pointer to $\ldots$'' $\mathit{cv}_{2,n-1}$ ``pointer to''
6542-
$\mathit{cv}_{2,n}\mathit{T2}$
6542+
$\mathit{cv}_{2,n}$ \tcode{T2},
65436543
\end{indented}
6544-
The cv-unqualified
6544+
then the cv-unqualified
65456545
\tcode{T1}
65466546
and
65476547
\tcode{T2}

0 commit comments

Comments
 (0)