Skip to content
Code and presentation from my talk in Core C++ 2019 conf.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
00-future
01-future-get
02-future-then
03-future-get-on-thread
04-co_await
05-co_yield
06-co_yield-async
external
.clang-format
.gitignore
.gitmodules
CMakeLists.txt
Coroutines.pptx
LICENSE
README.md

README.md

I use vcpkg for including Boost in 02-future-then project. For this to work, the simplest option is to pass -DCMAKE_TOOLCHAIN_FILE=<vcpkg-root>\scripts\buildsystems\vcpkg.cmake in CMake command-line (or set it in CMakeSettings.json file generated by Visual Studio).

cppcoro library is used for projects 04 and on. cppcoro is included here under external/cppcoro as a submodule. For build instructions, see cppcoro build instructions. For example, on Windows I use cake.bat architecture=x64 lib/build.cake.

countLines() function (in utils.cpp) is based on the example found in cppcoro README.md

The code examples are under MIT license, as mentioned in LICENSE. The presentation is under CC-BY-NC.

You can’t perform that action at this time.