forked from OSchip/llvm-project
Fix a bad noexcept clause in tuple's move constructor
llvm-svn: 217878
This commit is contained in:
parent
30d0c1ab5f
commit
3175f49d33
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue