33 Execution control library [exec]

33.5 Queries [exec.queries]

33.5.8 execution​::​get_start_scheduler [exec.get.start.scheduler]

get_start_scheduler asks a queryable object for the scheduler an operation will be or was started on.
The name get_start_scheduler denotes a query object.
For a subexpression env, get_start_scheduler(​env) is expression-equivalent to MANDATE-NOTHROW(AS-CONST(env).query(get_start_scheduler)).
Mandates: If the expression above is well-formed, its type satisfies scheduler.
forwarding_query(execution​::​get_start_scheduler) is a core constant expression and has value true.
Given subexpressions sndr and rcvr such that sender-to<decltype((sndr)), decltype((rcvr))> is true and the expression get_start_scheduler(get_env(rcvr)) is well-formed, an operation state that is the result of calling connect(sndr, rcvr) shall, if it is started, be started on an execution agent associated with the scheduler get_start_scheduler(get_env(rcvr)).