We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
as_awaitable
1 parent b84044a commit f8e3d8dCopy full SHA for f8e3d8d
1 file changed
include/stdexec/__detail/__as_awaitable.hpp
@@ -285,8 +285,6 @@ namespace STDEXEC
285
using namespace __as_awaitable;
286
if constexpr (__connect_await::__has_as_awaitable_member<_Tp, _Promise>)
287
{
288
- using __result_t = decltype(static_cast<_Tp&&>(__t).as_awaitable(__promise));
289
- static_assert(__awaitable<__result_t, _Promise>);
290
return static_cast<_Tp&&>(__t).as_awaitable(__promise);
291
}
292
else if constexpr (__awaitable<_Tp, __unspecified>) // NOT __awaitable<_Tp, _Promise> !!
0 commit comments