xref: /minix3/external/bsd/llvm/dist/clang/www/libstdc++4.7-clang11.patch (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel SambucIndex: include/std/type_traits
2*f4a2713aSLionel Sambuc===================================================================
3*f4a2713aSLionel Sambuc--- include/std/type_traits	(revision 185724)
4*f4a2713aSLionel Sambuc+++ include/std/type_traits	(working copy)
5*f4a2713aSLionel Sambuc@@ -1746,7 +1746,7 @@
6*f4a2713aSLionel Sambuc
7*f4a2713aSLionel Sambuc   template<typename _Tp, typename _Up>
8*f4a2713aSLionel Sambuc     struct common_type<_Tp, _Up>
9*f4a2713aSLionel Sambuc-    { typedef decltype(true ? declval<_Tp>() : declval<_Up>()) type; };
10*f4a2713aSLionel Sambuc+    { typedef typename decay<decltype(true ? declval<_Tp>() : declval<_Up>())>::type type; };
11*f4a2713aSLionel Sambuc
12*f4a2713aSLionel Sambuc   template<typename _Tp, typename _Up, typename... _Vp>
13*f4a2713aSLionel Sambuc     struct common_type<_Tp, _Up, _Vp...>
14