From ac65403a21bec04b2739b80d9f5e367bbe0c9b46 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Mon, 27 Jun 2022 09:36:52 -0400 Subject: [PATCH] [libc++][NFC] Remove trailing whitespace --- libcxx/include/tuple | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libcxx/include/tuple b/libcxx/include/tuple index d0c1592..d36b990 100644 --- a/libcxx/include/tuple +++ b/libcxx/include/tuple @@ -57,7 +57,7 @@ public: tuple(allocator_arg_t, const Alloc& a, tuple&&); // constexpr in C++20 template constexpr explicit(see-below) - tuple(allocator_arg_t, const Alloc& a, tuple&); // C++23 + tuple(allocator_arg_t, const Alloc& a, tuple&); // C++23 template explicit(see-below) tuple(allocator_arg_t, const Alloc& a, const tuple&); // constexpr in C++20 template @@ -248,7 +248,7 @@ void swap(__tuple_leaf<_Ip, _Hp, _Ep>& __x, __tuple_leaf<_Ip, _Hp, _Ep>& __y) template _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_AFTER_CXX11 -void swap(const __tuple_leaf<_Ip, _Hp, _Ep>& __x, const __tuple_leaf<_Ip, _Hp, _Ep>& __y) +void swap(const __tuple_leaf<_Ip, _Hp, _Ep>& __x, const __tuple_leaf<_Ip, _Hp, _Ep>& __y) _NOEXCEPT_(__is_nothrow_swappable::value) { swap(__x.get(), __y.get()); } @@ -765,12 +765,12 @@ public: { } // tuple(const tuple&) constructors (including allocator_arg_t variants) - + template , class = void> struct _EnableCtorFromUTypesTuple : false_type {}; template - struct _EnableCtorFromUTypesTuple<_OtherTuple, tuple<_Up...>, + struct _EnableCtorFromUTypesTuple<_OtherTuple, tuple<_Up...>, // the length of the packs needs to checked first otherwise the 2 packs cannot be expanded simultaneously below __enable_if_t> : _And< // the two conditions below are not in spec. The purpose is to disable the UTypes Ctor when copy/move Ctor can work. @@ -1165,13 +1165,13 @@ public: } #endif // _LIBCPP_STD_VER > 20 - template class Pred, bool _Const, + template class Pred, bool _Const, class _Pair, class _DecayedPair = __uncvref_t<_Pair>, class _Tuple = tuple> struct _AssignPredicateFromPair : false_type {}; - template class Pred, bool _Const, + template class Pred, bool _Const, class _Pair, class _Up1, class _Up2, class _Tp1, class _Tp2> - struct _AssignPredicateFromPair, tuple<_Tp1, _Tp2> > : + struct _AssignPredicateFromPair, tuple<_Tp1, _Tp2> > : _And&, __copy_cvref_t<_Pair, _Up1> >, Pred<__maybe_const<_Const, _Tp2>&, __copy_cvref_t<_Pair, _Up2> > > {}; -- 2.7.4