C++ coroutines: Making it impossible to co_await a task twice--Raymond Chen
The series continue.
C++ coroutines: Making it impossible to co_await a task twice
by Raymond Chen
From the article:
One design limitation of the coroutine implementation we’ve been developing is that it supports only one co_await client. We enforce this with a runtime assertion, but what if the problem occurs in the release build?