@@ -499,7 +499,7 @@ struct _LIBCPP_TEMPLATE_VIS pair
499
499
second(_VSTD::get<1 >(_VSTD::forward<_Tuple>(__p))) {}
500
500
501
501
template <class ... _Args1, class ... _Args2>
502
- _LIBCPP_INLINE_VISIBILITY
502
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
503
503
pair (piecewise_construct_t __pc,
504
504
tuple<_Args1...> __first_args, tuple<_Args2...> __second_args)
505
505
_NOEXCEPT_((is_nothrow_constructible<first_type, _Args1...>::value &&
@@ -508,7 +508,7 @@ struct _LIBCPP_TEMPLATE_VIS pair
508
508
typename __make_tuple_indices<sizeof ...(_Args1)>::type(),
509
509
typename __make_tuple_indices<sizeof...(_Args2) >::type()) {}
510
510
511
- _LIBCPP_INLINE_VISIBILITY
511
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
512
512
pair& operator =(typename conditional<
513
513
is_copy_assignable<first_type>::value &&
514
514
is_copy_assignable<second_type>::value,
@@ -521,7 +521,7 @@ struct _LIBCPP_TEMPLATE_VIS pair
521
521
return *this ;
522
522
}
523
523
524
- _LIBCPP_INLINE_VISIBILITY
524
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
525
525
pair& operator =(typename conditional<
526
526
is_move_assignable<first_type>::value &&
527
527
is_move_assignable<second_type>::value,
@@ -537,15 +537,15 @@ struct _LIBCPP_TEMPLATE_VIS pair
537
537
template <class _Tuple , _EnableB<
538
538
_CheckTLC<_Tuple>::template __enable_assign<_Tuple>()
539
539
> = false >
540
- _LIBCPP_INLINE_VISIBILITY
540
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
541
541
pair& operator =(_Tuple&& __p) {
542
542
first = _VSTD::get<0 >(_VSTD::forward<_Tuple>(__p));
543
543
second = _VSTD::get<1 >(_VSTD::forward<_Tuple>(__p));
544
544
return *this ;
545
545
}
546
546
#endif
547
547
548
- _LIBCPP_INLINE_VISIBILITY
548
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
549
549
void
550
550
swap (pair& __p) _NOEXCEPT_(__is_nothrow_swappable<first_type>::value &&
551
551
__is_nothrow_swappable<second_type>::value)
@@ -558,10 +558,10 @@ private:
558
558
559
559
#ifndef _LIBCPP_CXX03_LANG
560
560
template <class ... _Args1, class ... _Args2, size_t ... _I1, size_t ... _I2>
561
- _LIBCPP_INLINE_VISIBILITY
562
- pair (piecewise_construct_t ,
563
- tuple<_Args1...>& __first_args, tuple<_Args2...>& __second_args,
564
- __tuple_indices<_I1...>, __tuple_indices<_I2...>);
561
+ _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
562
+ pair (piecewise_construct_t ,
563
+ tuple<_Args1...>& __first_args, tuple<_Args2...>& __second_args,
564
+ __tuple_indices<_I1...>, __tuple_indices<_I2...>);
565
565
#endif
566
566
};
567
567
@@ -619,7 +619,7 @@ operator<=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
619
619
}
620
620
621
621
template <class _T1 , class _T2 >
622
- inline _LIBCPP_INLINE_VISIBILITY
622
+ inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX17
623
623
typename enable_if
624
624
<
625
625
__is_swappable<_T1>::value &&
0 commit comments