Fix a bad noexcept clause in tuple's move constructor
llvm-svn: 217878
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 3175f49d339abae8b0928dfba58b78458f29f4c1
diff --git a/include/tuple b/include/tuple
index c3fdd40..8ccec56 100644
--- a/include/tuple
+++ b/include/tuple
@@ -554,12 +554,12 @@
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11
tuple(_Up&&... __u)
_NOEXCEPT_((
- is_nothrow_constructible<
+ is_nothrow_constructible<base(
typename __make_tuple_indices<sizeof...(_Up)>::type,
typename __make_tuple_types<tuple, sizeof...(_Up)>::type,
typename __make_tuple_indices<sizeof...(_Tp), sizeof...(_Up)>::type,
typename __make_tuple_types<tuple, sizeof...(_Tp), sizeof...(_Up)>::type,
- _Up...
+ _Up...)
>::value
))
: base_(typename __make_tuple_indices<sizeof...(_Up)>::type(),