Skip to content

Commit 546a162

Browse files
jensmaurertkoeppe
authored andcommitted
[pairs.spec], [tuple.creation] Avoid 'equality' of types phrasing. (#1212)
Fixes #491.
1 parent 5ec123d commit 546a162

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/utilities.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,9 +1251,9 @@
12511251
\pnum
12521252
\returns \tcode{pair<V1, V2>(std::forward<T1>(x), std::forward<T2>(y))},
12531253
where \tcode{V1} and \tcode{V2} are determined as follows: Let \tcode{Ui} be
1254-
\tcode{decay_t<Ti>} for each \tcode{Ti}. Then each \tcode{Vi} is \tcode{X\&}
1255-
if \tcode{Ui} equals \tcode{reference_wrapper<X>}, otherwise \tcode{Vi} is
1256-
\tcode{Ui}.
1254+
\tcode{decay_t<Ti>} for each \tcode{Ti}. If \tcode{Ui} is a specialization
1255+
of \tcode{reference_wrapper}, then \tcode{Vi} is \tcode{Ui::type\&},
1256+
otherwise \tcode{Vi} is \tcode{Ui}.
12571257
\end{itemdescr}
12581258

12591259
\pnum
@@ -1981,9 +1981,9 @@
19811981
\end{itemdecl}
19821982

19831983
\begin{itemdescr} \pnum Let \tcode{$U_i$} be \tcode{decay_t<$T_i$>} for each
1984-
$T_i$ in \tcode{Types}. Then each $V_i$ in \tcode{VTypes} is
1985-
\tcode{X\&} if $U_i$ equals \tcode{reference_wrapper<X>}, otherwise
1986-
$V_i$ is $U_i$.
1984+
$T_i$ in \tcode{Types}. If $U_i$ is a specialization of
1985+
\tcode{reference_wrapper}, then $V_i$ in \tcode{VTypes} is \tcode{$U_i$::type\&},
1986+
otherwise $V_i$ is $U_i$.
19871987

19881988
\pnum
19891989
\returns \tcode{tuple<VTypes...>(std::forward<Types>(t)...)}.

0 commit comments

Comments
 (0)