NVIDIA/stdexec

sender_of<decltype(just(2)), int> is false

RishabhRD opened this issue · 1 comments

  auto work_sender = stdexec::just(2);
  using work_sender_t = std::decay_t<decltype(work_sender)>;
  static_assert(stdexec::sender_of<work_sender_t, int>);

This static assert fails. I am trying to use sender_of to judge if sender completes with certain value type. Is there something I am missing?

Thank You

Closing the issue as just realised it should be sender_of<set_value_t(int)>