Skip to content

Commit f65ab95

Browse files
committed
[utilities] Use "Result:" element in \itemdescrs of types to describe the type.
This replaces the use of the ad-hoc element "Type:" in three places with "Result:", and adds "Result:" in other cases that didn't have an element at all.
1 parent 17b6a3f commit f65ab95

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

source/utilities.tex

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@
14081408
$\tcode{I} < 2$.
14091409

14101410
\pnum
1411-
\ctype
1411+
\result
14121412
The type \tcode{T1} if \tcode{I} is 0, otherwise the type \tcode{T2}.
14131413
\end{itemdescr}
14141414

@@ -2788,7 +2788,7 @@
27882788
$\tcode{I} < \tcode{sizeof...(Types)}$.
27892789

27902790
\pnum
2791-
\ctype
2791+
\result
27922792
\tcode{TI} is the
27932793
type of the $\tcode{I}^\text{th}$ element of \tcode{Types},
27942794
where indexing is zero-based.
@@ -3076,6 +3076,9 @@
30763076
\tcode{tuple<common_reference_t<TQual<TTypes>, UQual<UTypes>>...>}
30773077
denotes a type.
30783078
\end{itemize}
3079+
3080+
\pnum
3081+
\result
30793082
The member \grammarterm{typedef-name} \tcode{type} denotes the type
30803083
\tcode{tuple<common_reference_t<TQual<TTypes>, \linebreak{}UQual<UTypes>>...>}.
30813084
\end{itemdescr}
@@ -3104,7 +3107,10 @@
31043107
\item
31053108
\tcode{tuple<common_type_t<TTypes, UTypes>...>} denotes a type.
31063109
\end{itemize}
3107-
The member \grammarterm{typedef-name} \tcode{type} denotes the type
3110+
3111+
\pnum
3112+
\result
3113+
The member \grammarterm{typedef-name} \tcode{type} denotes the type\\
31083114
\tcode{tuple<common_type_t<TTypes, UTypes>...>}.
31093115
\end{itemdescr}
31103116

@@ -6508,7 +6514,7 @@
65086514
$\tcode{I} < \tcode{sizeof...(Types)}$.
65096515

65106516
\pnum
6511-
\ctype
6517+
\result
65126518
The type $\tcode{T}_I$.
65136519
\end{itemdescr}
65146520

0 commit comments

Comments
 (0)