You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P2300R10 has derived_from<typename remove_cvref_t<Sch>::scheduler_concept, scheduler_t> as part of the definition of the concept scheduler, but stdexec doesn't have this yet.
This is inconvenient because if I want to check whether some type S is a scheduler that's compatible with stdexec, by evaluating the concept-id stdexec::scheduler<S>, I will always get a hard error if S happens to be a scheduler from some other execution framework: stdexec checks whether it has a schedule member function and then gives a hard error if the result of calling schedule is not a stdexec sender.
The text was updated successfully, but these errors were encountered:
P2300R10 has
derived_from<typename remove_cvref_t<Sch>::scheduler_concept, scheduler_t>
as part of the definition of the conceptscheduler
, but stdexec doesn't have this yet.This is inconvenient because if I want to check whether some type
S
is a scheduler that's compatible with stdexec, by evaluating the concept-idstdexec::scheduler<S>
, I will always get a hard error ifS
happens to be a scheduler from some other execution framework: stdexec checks whether it has aschedule
member function and then gives a hard error if the result of callingschedule
is not a stdexec sender.The text was updated successfully, but these errors were encountered: