Files
cppdraft_translate/cppdraft/exec/get/delegation/scheduler.md
2025-10-25 03:02:53 +03:00

1.3 KiB
Raw Blame History

[exec.get.delegation.scheduler]

33 Execution control library [exec]

33.5 Queries [exec.queries]

33.5.7 execution::get_delegation_scheduler [exec.get.delegation.scheduler]

1

#

get_delegation_scheduler asks a queryable object for a scheduler that can be used to delegate work to for the purpose of forward progress delegation ([intro.progress]).

2

#

The name get_delegation_scheduler denotes a query object.

For a subexpression env,get_delegation_scheduler(env) is expression-equivalent toMANDATE-NOTHROW(AS-CONST(env).query(get_delegation_scheduler)).

Mandates: If the expression above is well-formed, its type satisfies scheduler.

3

#

forwarding_query(execution::get_delegation_scheduler) is a core constant expression and has value true.