cuda::experimental::stf::exception_policies::operator&#
Overloads#
operator&(__l, __r)#
-
template<class _L, class _R, ::cuda::std::enable_if_t<detail::__is_exception_sink_v<_L> || detail::__is_exception_sink_v<_R>, int> = 0>
auto cuda::experimental::stf::exception_policies::operator&(
) Sequences two policies: on the exception path
_Lruns then_R, and_R’s answer decides.noopis the two-sided identity. Constrained so at least one operand is a policy this header defines, so it never hijacks unrelated&expressions; a chain of plain lambdas is therefore not composable, but heading it withnoopmakes it so.
operator&(noop_t, __r)#
operator&(__l, noop_t)#
-
template<class _L, ::cuda::std::enable_if_t<!::cuda::std::is_same_v<::cuda::std::remove_cvref_t<_L>, noop_t> && detail::__normalizes_to_exception_sink_v<_L>, int> = 0>
auto cuda::experimental::stf::exception_policies::operator&(
) Right identity of
&.noopitself is excluded sonoop & noopis not ambiguous.