Iros
 
Loading...
Searching...
No Matches
get_forward_progress_guarantee.h
Go to the documentation of this file.
3
4namespace di::execution {
10
11namespace detail {
13 template<concepts::Scheduler Sched>
14 constexpr auto operator()(Sched&& scheduler) const -> ForwardProgressGuarantee {
16 static_assert(
19 "Customizations of get_forward_progress_guarantee() must return di::ForwardProgressGuarantee.");
20 return function::tag_invoke(*this, util::as_const(scheduler));
21 } else {
23 }
24 }
25 };
26}
27
29}
Definition core.h:114
Definition tag_invoke.h:33
Definition bulk.h:30
ForwardProgressGuarantee
Definition get_forward_progress_guarantee.h:5
@ WeaklyParallel
Definition get_forward_progress_guarantee.h:8
@ Concurrent
Definition get_forward_progress_guarantee.h:6
@ Parallel
Definition get_forward_progress_guarantee.h:7
constexpr auto get_forward_progress_guarantee
Definition get_forward_progress_guarantee.h:28
constexpr tag_invoke_detail::TagInvokeFn tag_invoke
Definition tag_invoke.h:22
Definition json_deserializer.h:532
decltype(di::function::tag_invoke(util::declval< Tag >(), util::declval< Args >()...)) TagInvokeResult
Definition tag_invoke.h:40
Definition get_forward_progress_guarantee.h:12
constexpr auto operator()(Sched &&scheduler) const -> ForwardProgressGuarantee
Definition get_forward_progress_guarantee.h:14