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
I make a note at the bottom of the chapter mentioning this but maybe I should move it to the top instead:
Note: While these examples illustrate how to use coroutines at a basic level, there is lots more going on when the code is compiled. These examples are not meant to be complete coverage of C++20's coroutines. Since the generator and task classes are not provided by the standard library yet, I used the cppcoro library to compile these examples.
I saw that in the coroutine chapter in the section C++20, as an example, the
generator<T>
type was used, but this is only available as of C++23.The text was updated successfully, but these errors were encountered: