File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1251
1251
\pnum
1252
1252
\returns \tcode{pair<V1, V2>(std::forward<T1>(x), std::forward<T2>(y))},
1253
1253
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}.
1257
1257
\end{itemdescr}
1258
1258
1259
1259
\pnum
1981
1981
\end{itemdecl}
1982
1982
1983
1983
\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$.
1987
1987
1988
1988
\pnum
1989
1989
\returns \tcode{tuple<VTypes...>(std::forward<Types>(t)...)}.
You can’t perform that action at this time.
0 commit comments