Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-03-01 17:27:55 +0300
committerHoward Hinnant <hhinnant@apple.com>2011-03-01 17:27:55 +0300
commitb5d166ad93c9faf13fe5dfa15e94e5fe4a7abf11 (patch)
tree70492d8fd722f1857f56ec32d2c60a4353aa2a0a /libcxx/include/__tuple
parent59fd7a9f78b01b3ae2f73cb14b30fc3b242c66a7 (diff)
Chris Jefferson found this bug to pair/tuple introduced by a recent change to the draft that I missed.
llvm-svn: 126743
Diffstat (limited to 'libcxx/include/__tuple')
-rw-r--r--libcxx/include/__tuple2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__tuple b/libcxx/include/__tuple
index 39e484a54d83..b9f92c502c20 100644
--- a/libcxx/include/__tuple
+++ b/libcxx/include/__tuple
@@ -214,7 +214,7 @@ struct __tuple_convertible_imp : public false_type {};
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 <>