]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/bits/stl_pair.h
Add deduction guides for C++17 (P0433R2, partial)
[thirdparty/gcc.git] / libstdc++-v3 / include / bits / stl_pair.h
index e5e9f1c8c433ee34d5cacd5533a0c8d6bfb20512..66f52b3358e9156624c218d87a749eab39dbab93 100644 (file)
@@ -425,6 +425,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 #endif
     };
 
+#if __cpp_deduction_guides >= 201606
+  template<typename _T1, typename _T2> pair(_T1, _T2) -> pair<_T1, _T2>;
+#endif
+
   /// Two pairs of the same type are equal iff their members are equal.
   template<typename _T1, typename _T2>
     inline _GLIBCXX_CONSTEXPR bool