@@ -68,6 +68,7 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT default_delete
68
68
default_delete (const default_delete<_Up>&, enable_if_t <_CCCL_TRAIT(is_convertible, _Up*, _Tp*), int > = 0 ) noexcept
69
69
{}
70
70
71
+ _CCCL_EXEC_CHECK_DISABLE
71
72
_LIBCUDACXX_HIDE_FROM_ABI _CCCL_CONSTEXPR_CXX20 void operator ()(_Tp* __ptr) const noexcept
72
73
{
73
74
static_assert (sizeof (_Tp) >= 0 , " cannot delete an incomplete type" );
@@ -86,6 +87,7 @@ struct _CCCL_TYPE_VISIBILITY_DEFAULT default_delete<_Tp[]>
86
87
const default_delete<_Up[]>&, enable_if_t <_CCCL_TRAIT(is_convertible, _Up (*)[], _Tp (*)[]), int> = 0) noexcept
87
88
{}
88
89
90
+ _CCCL_EXEC_CHECK_DISABLE
89
91
template <class _Up >
90
92
_LIBCUDACXX_HIDE_FROM_ABI _CCCL_CONSTEXPR_CXX20 enable_if_t <_CCCL_TRAIT(is_convertible, _Up (*)[], _Tp (*)[]), void >
91
93
operator ()(_Up* __ptr) const noexcept
@@ -704,12 +706,14 @@ struct __unique_if<_Tp[_Np]>
704
706
typedef void __unique_array_known_bound;
705
707
};
706
708
709
+ _CCCL_EXEC_CHECK_DISABLE
707
710
template <class _Tp , class ... _Args>
708
711
_LIBCUDACXX_HIDE_FROM_ABI _CCCL_CONSTEXPR_CXX20 typename __unique_if<_Tp>::__unique_single make_unique (_Args&&... __args)
709
712
{
710
713
return unique_ptr<_Tp>(new _Tp (_CUDA_VSTD::forward<_Args>(__args)...));
711
714
}
712
715
716
+ _CCCL_EXEC_CHECK_DISABLE
713
717
template <class _Tp >
714
718
_LIBCUDACXX_HIDE_FROM_ABI _CCCL_CONSTEXPR_CXX20 typename __unique_if<_Tp>::__unique_array_unknown_bound
715
719
make_unique (size_t __n)
@@ -721,12 +725,14 @@ make_unique(size_t __n)
721
725
template <class _Tp , class ... _Args>
722
726
_LIBCUDACXX_HIDE_FROM_ABI typename __unique_if<_Tp>::__unique_array_known_bound make_unique (_Args&&...) = delete;
723
727
728
+ _CCCL_EXEC_CHECK_DISABLE
724
729
template <class _Tp >
725
730
_LIBCUDACXX_HIDE_FROM_ABI _CCCL_CONSTEXPR_CXX20 typename __unique_if<_Tp>::__unique_single make_unique_for_overwrite ()
726
731
{
727
732
return unique_ptr<_Tp>(new _Tp);
728
733
}
729
734
735
+ _CCCL_EXEC_CHECK_DISABLE
730
736
template <class _Tp >
731
737
_LIBCUDACXX_HIDE_FROM_ABI _CCCL_CONSTEXPR_CXX20 typename __unique_if<_Tp>::__unique_array_unknown_bound
732
738
make_unique_for_overwrite (size_t __n)
0 commit comments