@@ -341,7 +341,7 @@ public:
341
341
class = __enable_if_t <
342
342
_And< _IsNotSame<__remove_cvref_t <_Tp>, __tuple_leaf>, is_constructible<_Hp, _Tp> >::value > >
343
343
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __tuple_leaf (_Tp&& __t )
344
- _NOEXCEPT_(( is_nothrow_constructible<_Hp, _Tp>::value) )
344
+ _NOEXCEPT_(is_nothrow_constructible<_Hp, _Tp>::value)
345
345
: __value_(std::forward<_Tp>(__t )) {
346
346
static_assert (__can_bind_reference<_Tp&&>(),
347
347
" Attempted construction of reference element binds to a temporary whose lifetime has ended" );
@@ -409,7 +409,7 @@ public:
409
409
class = __enable_if_t <
410
410
_And< _IsNotSame<__remove_cvref_t <_Tp>, __tuple_leaf>, is_constructible<_Hp, _Tp> >::value > >
411
411
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __tuple_leaf (_Tp&& __t )
412
- _NOEXCEPT_(( is_nothrow_constructible<_Hp, _Tp>::value) )
412
+ _NOEXCEPT_(is_nothrow_constructible<_Hp, _Tp>::value)
413
413
: _Hp(std::forward<_Tp>(__t )) {}
414
414
415
415
template <class _Tp , class _Alloc >
@@ -468,8 +468,8 @@ struct _LIBCPP_DECLSPEC_EMPTY_BASES __tuple_impl<__tuple_indices<_Indx...>, _Tp.
468
468
template <size_t ... _Uf, class ... _Tf, size_t ... _Ul, class ... _Tl, class ... _Up>
469
469
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __tuple_impl (
470
470
__tuple_indices<_Uf...>, __tuple_types<_Tf...>, __tuple_indices<_Ul...>, __tuple_types<_Tl...>, _Up&&... __u)
471
- _NOEXCEPT_(( __all<is_nothrow_constructible<_Tf, _Up>::value...>::value &&
472
- __all<is_nothrow_default_constructible<_Tl>::value...>::value) )
471
+ _NOEXCEPT_(__all<is_nothrow_constructible<_Tf, _Up>::value...>::value&&
472
+ __all<is_nothrow_default_constructible<_Tl>::value...>::value)
473
473
: __tuple_leaf<_Uf, _Tf>(std::forward<_Up>(__u))..., __tuple_leaf<_Ul, _Tl>()... {}
474
474
475
475
template <class _Alloc , size_t ... _Uf, class ... _Tf, size_t ... _Ul, class ... _Tl, class ... _Up>
@@ -616,7 +616,7 @@ public:
616
616
__enable_if_t < _And< _BoolConstant<sizeof ...(_Up) == sizeof ...(_Tp)>, _EnableUTypesCtor<_Up...> >::value,
617
617
int > = 0 >
618
618
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit (_Not<_Lazy<_And, is_convertible<_Up, _Tp>...> >::value)
619
- tuple(_Up&&... __u) _NOEXCEPT_(( _And<is_nothrow_constructible<_Tp, _Up>...>::value) )
619
+ tuple(_Up&&... __u) _NOEXCEPT_(_And<is_nothrow_constructible<_Tp, _Up>...>::value)
620
620
: __base_(typename __make_tuple_indices<sizeof ...(_Up)>::type(),
621
621
typename __make_tuple_types<tuple, sizeof...(_Up)>::type(),
622
622
typename __make_tuple_indices<sizeof...(_Tp), sizeof...(_Up)>::type(),
@@ -683,7 +683,7 @@ public:
683
683
template <class ... _Up, __enable_if_t < _And< _EnableCtorFromUTypesTuple<const tuple<_Up...>&> >::value, int > = 0 >
684
684
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit (
685
685
_Not<_Lazy<_And, is_convertible<const _Up&, _Tp>...> >::value) tuple(const tuple<_Up...>& __t )
686
- _NOEXCEPT_(( _And<is_nothrow_constructible<_Tp, const _Up&>...>::value) )
686
+ _NOEXCEPT_(_And<is_nothrow_constructible<_Tp, const _Up&>...>::value)
687
687
: __base_(__t ) {}
688
688
689
689
template <class ... _Up,
@@ -710,7 +710,7 @@ public:
710
710
// tuple(tuple<U...>&&) constructors (including allocator_arg_t variants)
711
711
template <class ... _Up, __enable_if_t < _And< _EnableCtorFromUTypesTuple<tuple<_Up...>&&> >::value, int > = 0 >
712
712
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit (_Not<_Lazy<_And, is_convertible<_Up, _Tp>...> >::value)
713
- tuple(tuple<_Up...>&& __t ) _NOEXCEPT_(( _And<is_nothrow_constructible<_Tp, _Up>...>::value) )
713
+ tuple(tuple<_Up...>&& __t ) _NOEXCEPT_(_And<is_nothrow_constructible<_Tp, _Up>...>::value)
714
714
: __base_(std::move(__t )) {}
715
715
716
716
template <class _Alloc ,
@@ -767,7 +767,7 @@ public:
767
767
__enable_if_t < _And< _EnableCtorFromPair<const pair<_Up1, _Up2>&> >::value, int > = 0 >
768
768
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit (
769
769
_Not<_BothImplicitlyConvertible<const pair<_Up1, _Up2>&> >::value) tuple(const pair<_Up1, _Up2>& __p)
770
- _NOEXCEPT_(( _NothrowConstructibleFromPair<const pair<_Up1, _Up2>&>::value) )
770
+ _NOEXCEPT_(_NothrowConstructibleFromPair<const pair<_Up1, _Up2>&>::value)
771
771
: __base_(__p) {}
772
772
773
773
template <class _Alloc ,
@@ -805,7 +805,7 @@ public:
805
805
__enable_if_t < _And< _EnableCtorFromPair<pair<_Up1, _Up2>&&> >::value, int > = 0 >
806
806
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 explicit (
807
807
_Not<_BothImplicitlyConvertible<pair<_Up1, _Up2>&&> >::value) tuple(pair<_Up1, _Up2>&& __p)
808
- _NOEXCEPT_(( _NothrowConstructibleFromPair<pair<_Up1, _Up2>&&>::value) )
808
+ _NOEXCEPT_(_NothrowConstructibleFromPair<pair<_Up1, _Up2>&&>::value)
809
809
: __base_(std::move(__p)) {}
810
810
811
811
template <class _Alloc ,
@@ -840,7 +840,7 @@ public:
840
840
// [tuple.assign]
841
841
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
842
842
operator =(_If<_And<is_copy_assignable<_Tp>...>::value, tuple, __nat> const & __tuple)
843
- _NOEXCEPT_ (( _And<is_nothrow_copy_assignable<_Tp>...>::value) ) {
843
+ _NOEXCEPT_ (_And<is_nothrow_copy_assignable<_Tp>...>::value) {
844
844
std::__memberwise_copy_assign (*this , __tuple, typename __make_tuple_indices<sizeof ...(_Tp)>::type ());
845
845
return *this ;
846
846
}
@@ -864,7 +864,7 @@ public:
864
864
865
865
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple&
866
866
operator =(_If<_And<is_move_assignable<_Tp>...>::value, tuple, __nat>&& __tuple)
867
- _NOEXCEPT_ (( _And<is_nothrow_move_assignable<_Tp>...>::value) ) {
867
+ _NOEXCEPT_ (_And<is_nothrow_move_assignable<_Tp>...>::value) {
868
868
std::__memberwise_forward_assign (
869
869
*this , std::move (__tuple), __tuple_types<_Tp...>(), typename __make_tuple_indices<sizeof ...(_Tp)>::type ());
870
870
return *this ;
@@ -875,7 +875,7 @@ public:
875
875
__enable_if_t < _And< _BoolConstant<sizeof ...(_Tp) == sizeof ...(_Up)>, is_assignable<_Tp&, _Up const &>... >::value,
876
876
int > = 0 >
877
877
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator =(tuple<_Up...> const & __tuple)
878
- _NOEXCEPT_ (( _And<is_nothrow_assignable<_Tp&, _Up const &>...>::value) ) {
878
+ _NOEXCEPT_ (_And<is_nothrow_assignable<_Tp&, _Up const &>...>::value) {
879
879
std::__memberwise_copy_assign (*this , __tuple, typename __make_tuple_indices<sizeof ...(_Tp)>::type ());
880
880
return *this ;
881
881
}
@@ -884,7 +884,7 @@ public:
884
884
__enable_if_t < _And< _BoolConstant<sizeof ...(_Tp) == sizeof ...(_Up)>, is_assignable<_Tp&, _Up>... >::value,
885
885
int > = 0 >
886
886
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator =(tuple<_Up...>&& __tuple)
887
- _NOEXCEPT_ (( _And<is_nothrow_assignable<_Tp&, _Up>...>::value) ) {
887
+ _NOEXCEPT_ (_And<is_nothrow_assignable<_Tp&, _Up>...>::value) {
888
888
std::__memberwise_forward_assign (
889
889
*this , std::move (__tuple), __tuple_types<_Up...>(), typename __make_tuple_indices<sizeof ...(_Tp)>::type ());
890
890
return *this ;
@@ -949,15 +949,15 @@ public:
949
949
class _Up2 ,
950
950
__enable_if_t < _EnableAssignFromPair<false , pair<_Up1, _Up2> const &>::value, int > = 0 >
951
951
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator =(pair<_Up1, _Up2> const & __pair)
952
- _NOEXCEPT_ (( _NothrowAssignFromPair<false , pair<_Up1, _Up2> const &>::value) ) {
952
+ _NOEXCEPT_ (_NothrowAssignFromPair<false , pair<_Up1, _Up2> const &>::value) {
953
953
std::get<0 >(*this ) = __pair.first ;
954
954
std::get<1 >(*this ) = __pair.second ;
955
955
return *this ;
956
956
}
957
957
958
958
template <class _Up1 , class _Up2 , __enable_if_t < _EnableAssignFromPair<false , pair<_Up1, _Up2>&&>::value, int > = 0 >
959
959
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator =(pair<_Up1, _Up2>&& __pair)
960
- _NOEXCEPT_ (( _NothrowAssignFromPair<false , pair<_Up1, _Up2>&&>::value) ) {
960
+ _NOEXCEPT_ (_NothrowAssignFromPair<false , pair<_Up1, _Up2>&&>::value) {
961
961
std::get<0 >(*this ) = std::forward<_Up1>(__pair.first );
962
962
std::get<1 >(*this ) = std::forward<_Up2>(__pair.second );
963
963
return *this ;
@@ -969,7 +969,7 @@ public:
969
969
size_t _Np,
970
970
class = __enable_if_t < _And< _BoolConstant<_Np == sizeof ...(_Tp)>, is_assignable<_Tp&, _Up const &>... >::value > >
971
971
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator =(array<_Up, _Np> const & __array)
972
- _NOEXCEPT_ (( _And<is_nothrow_assignable<_Tp&, _Up const &>...>::value) ) {
972
+ _NOEXCEPT_ (_And<is_nothrow_assignable<_Tp&, _Up const &>...>::value) {
973
973
std::__memberwise_copy_assign (*this , __array, typename __make_tuple_indices<sizeof ...(_Tp)>::type ());
974
974
return *this ;
975
975
}
@@ -980,7 +980,7 @@ public:
980
980
class = void ,
981
981
class = __enable_if_t < _And< _BoolConstant<_Np == sizeof ...(_Tp)>, is_assignable<_Tp&, _Up>... >::value > >
982
982
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 tuple& operator =(array<_Up, _Np>&& __array)
983
- _NOEXCEPT_ (( _And<is_nothrow_assignable<_Tp&, _Up>...>::value) ) {
983
+ _NOEXCEPT_ (_And<is_nothrow_assignable<_Tp&, _Up>...>::value) {
984
984
std::__memberwise_forward_assign (
985
985
*this ,
986
986
std::move (__array),
0 commit comments