[cfe-commits] [libcxx] r126743 - /libcxx/trunk/include/__tuple
Howard Hinnant
hhinnant at apple.com
Tue Mar 1 06:27:55 PST 2011
Author: hhinnant
Date: Tue Mar 1 08:27:55 2011
New Revision: 126743
URL: http://llvm.org/viewvc/llvm-project?rev=126743&view=rev
Log:
Chris Jefferson found this bug to pair/tuple introduced by a recent change to the draft that I missed.
Modified:
libcxx/trunk/include/__tuple
Modified: libcxx/trunk/include/__tuple
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__tuple?rev=126743&r1=126742&r2=126743&view=diff
==============================================================================
--- libcxx/trunk/include/__tuple (original)
+++ libcxx/trunk/include/__tuple Tue Mar 1 08:27:55 2011
@@ -214,7 +214,7 @@
template <class _Tp0, class ..._Tp, class _Up0, class ..._Up>
struct __tuple_convertible_imp<true, __tuple_types<_Tp0, _Tp...>, __tuple_types<_Up0, _Up...> >
: public integral_constant<bool,
- is_convertible<_Tp0, _Up0>::value &&
+ is_constructible<_Up0, _Tp0>::value &&
__tuple_convertible_imp<true, __tuple_types<_Tp...>, __tuple_types<_Up...> >::value> {};
template <>
More information about the cfe-commits
mailing list