cuda::experimental::stf::exception_policies::operator*#
Overloads#
operator*(__p, __n)#
-
template<class _P, ::cuda::std::enable_if_t<detail::__is_exception_sink_v<::cuda::std::remove_cvref_t<_P>> || detail::__has_any_capability<::cuda::std::remove_cvref_t<_P>>, int> = 0>
auto cuda::experimental::stf::exception_policies::operator*( - _P &&__p,
- int __n
Repetition:
p * nis the n-fold|ofpwith itself — behaviorallyp | p | ... | p(n copies).Laws:
p * 0≡rethrow(empty fold);p * 1≡p(behaviorally);p * (m + n)≡p * m | p * n.*binds tighter than&and|, so(notify & retry) * 3notifies before each re-attempt, whilenotify & retry * 3notifies once then re-attempts three times.
operator*(__n, __p)#
-
template<class _P, ::cuda::std::enable_if_t<detail::__is_exception_sink_v<::cuda::std::remove_cvref_t<_P>> || detail::__has_any_capability<::cuda::std::remove_cvref_t<_P>>, int> = 0>
auto cuda::experimental::stf::exception_policies::operator*( - int __n,
- _P &&__p
Commuted form of
operator*:n * pisp * n.