Fix a bad noexcept clause in tuple's move constructor

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@217878 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow 2014-09-16 15:36:14 +00:00
parent d1fae17224
commit 12929a957b

View File

@ -554,12 +554,12 @@ public:
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11
tuple(_Up&&... __u) tuple(_Up&&... __u)
_NOEXCEPT_(( _NOEXCEPT_((
is_nothrow_constructible< is_nothrow_constructible<base(
typename __make_tuple_indices<sizeof...(_Up)>::type, typename __make_tuple_indices<sizeof...(_Up)>::type,
typename __make_tuple_types<tuple, sizeof...(_Up)>::type, typename __make_tuple_types<tuple, sizeof...(_Up)>::type,
typename __make_tuple_indices<sizeof...(_Tp), sizeof...(_Up)>::type, typename __make_tuple_indices<sizeof...(_Tp), sizeof...(_Up)>::type,
typename __make_tuple_types<tuple, sizeof...(_Tp), sizeof...(_Up)>::type, typename __make_tuple_types<tuple, sizeof...(_Tp), sizeof...(_Up)>::type,
_Up... _Up...)
>::value >::value
)) ))
: base_(typename __make_tuple_indices<sizeof...(_Up)>::type(), : base_(typename __make_tuple_indices<sizeof...(_Up)>::type(),