Skip to content

Commit

Permalink
bug fix to receiver and scheduler concepts, from @tcanens
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Jun 27, 2024
1 parent 662ecd4 commit 3902689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions execution.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6169,7 +6169,7 @@ namespace std::execution {
namespace std::execution {
template<class Sch>
concept scheduler =
derived_from<typename Sch::scheduler_concept, scheduler_t> &&
derived_from<typename remove_cvref_t<Sch>::scheduler_concept, scheduler_t> &&
<i>queryable</i>&lt;Sch> &&
requires(Sch&& sch) {
{ schedule(std::forward&lt;Sch>(sch)) } -> sender;
Expand Down Expand Up @@ -6227,7 +6227,7 @@ namespace std::execution {
namespace std::execution {
template&lt;class Rcvr>
concept receiver =
derived_from&lt;typename Rcvr::receiver_concept, receiver_t> &&
derived_from&lt;typename remove_cvref_t&lt;Rcvr>::receiver_concept, receiver_t> &&
requires(const remove_cvref_t&lt;Rcvr>& rcvr) {
{ get_env(rcvr) } -> <i>queryable</i>;
} &&
Expand Down

0 comments on commit 3902689

Please sign in to comment.