File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 10061006If \tcode {Sch} does not satisfy \libconcept {scheduler},
10071007\tcode {get_forward_progress_guarantee} is ill-formed.
10081008Otherwise,
1009- \tcode {get_forward_progress_guarantee(sch)} is expression-equivalent to:
1010- \begin {itemize }
1011- \item
1012- \tcode {\exposid {MANDATE-NOTHROW}(\exposid {AS-CONST}(sch).query(get_forward_progress_guarantee))},
1013- if that expression is well-formed.
1009+ \tcode {get_forward_progress_guarantee(sch)} is expression-equivalent to
1010+ \begin {codeblock }
1011+ @\exposid {MANDATE-NOTHROW}@(@\exposid {AS-CONST}@(sch).query(get_forward_progress_guarantee))
1012+ \end {codeblock }
10141013
10151014\mandates
10161015The type of the expression above is \tcode {forward_progress_guarantee}.
1017- \item
1018- Otherwise, \tcode {forward_progress_guarantee::weakly_parallel}.
1019- \end {itemize }
10201016
10211017\pnum
10221018If \tcode {get_forward_progress_guarantee(sch)} for some scheduler \tcode {sch}
11111107 @\exposconcept {queryable}@<Sch> &&
11121108 requires(Sch&& sch) {
11131109 { schedule(std::forward<Sch>(sch)) } -> @\libconcept {sender}@;
1110+ { get_forward_progress_guarantee(sch) } -> @\libconcept {same_as}@<forward_progress_guarantee>;
11141111 { auto(get_completion_scheduler<set_value_t>(
11151112 get_env(schedule(std::forward<Sch>(sch))))) }
11161113 -> @\libconcept {same_as}@<remove_cvref_t<Sch>>;
You can’t perform that action at this time.
0 commit comments