We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89f12d commit e34078aCopy full SHA for e34078a
1 file changed
include/stdexec/__detail/__as_awaitable.hpp
@@ -373,7 +373,7 @@ namespace STDEXEC
373
STDEXEC::start(__opstate);
374
}
375
376
- if (this->__result_.index() == 0)
+ if (this->__result_.__is_valueless())
377
{
378
// The operation completed with set_stopped, so we need to call
379
// unhandled_stopped() on the promise to propagate the stop signal. That will
0 commit comments