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
Note that MSVC as of 2017 Update 3 would not currently be able to use such an abstraction as it currently converts from get_return_object() return-value into coroutine return-type immediately rather than waiting until after the coroutine is suspended. I am told this will be addressed in a future release.
Note that MSVC no longer has this problem, neither does gcc. Clang, as you mentioned, traditionally didn't have this problem, but it recently broke (llvm/llvm-project#56532), hopefully they will fix it. Once that happens, all three major compilers should do the lazy implicit conversion which should then support this.
See https://github.com/toby-allsopp/coroutine_monad for inspiration.
The text was updated successfully, but these errors were encountered: