We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b686c6e + 2a51da8 commit 140404fCopy full SHA for 140404f
source/utilities.tex
@@ -673,7 +673,7 @@
673
pair(pair&&) = default;
674
constexpr explicit(@\seebelow@) pair();
675
constexpr explicit(@\seebelow@) pair(const T1& x, const T2& y);
676
- template<class U1, class U2>
+ template<class U1 = T1, class U2 = T2>
677
constexpr explicit(@\seebelow@) pair(U1&& x, U2&& y);
678
template<class U1, class U2>
679
constexpr explicit(@\seebelow@) pair(const pair<U1, U2>& p);
@@ -778,7 +778,7 @@
778
779
\indexlibraryctor{pair}%
780
\begin{itemdecl}
781
-template<class U1, class U2> constexpr explicit(@\seebelow@) pair(U1&& x, U2&& y);
+template<class U1 = T1, class U2 = T2> constexpr explicit(@\seebelow@) pair(U1&& x, U2&& y);
782
\end{itemdecl}
783
784
\begin{itemdescr}
0 commit comments