A C++ coroutine library, built upon coroutine support introduced in C++20.
Martin Beran
This software is available under the terms of BSD 2-Clause License, see file LICENSE.md.
This is a work in progress. It is currently usable for experiments with coroutines and for learning how coroutines work. It is incomplete, probably buggy, and not suitable for any production use.
There are subtle bugs or differences related to coroutine support in various kinds and versions of compilers. This library is currently being developed using GCC 12.1.0.
doc/
– documentationsrc/
– source codetest/
– test programs
The library itself is header only.
Build test programs and basic (Markdown) documentation:
mkdir build
cd build
cmake ..
cmake --build . -j `nproc`
Documentation of Coro is generated by Doxygen from comments in source
code and from files in subdirectory doc/
into build subdirectory
html/ by command
make doxygen