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 * n is the n-fold | of p with itself &#8212; behaviorally p | p | ... | p (n copies).

Laws: p * 0rethrow (empty fold); p * 1p (behaviorally); p * (m + n)p * m | p * n. * binds tighter than & and |, so (notify & retry) * 3 notifies before each re-attempt, while notify & retry * 3 notifies 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 * p is p * n.