Skip to content

azhirnov/cpp_coroutine_samples

Repository files navigation

C++20 coroutine samples

  1. SimpleAwaiter - how to use Awaiter
  2. SimpleAwaiter2 - how to suspend and resume coroutine execution
  3. SimpleAwaiter3 - simple task system on coroutine, without dependencies between tasks
  4. SimplePromise - how to return result from coroutine
  5. TaskDeps, v2, v3 - how to make dependencies between coroutines
  6. AwaitOverload - how to specialise Awaiter for different coroutine types
  7. GetCurrentCoro - how to get coroutine handle inside the coroutine
  8. DestroyUncompleteCoro - what happens if uncomplete coroutine has been destroyed

Articles

С++ корутины, начальный уровень

About

C++20 coroutine samples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published