Registry / async / coroutine

coroutine

JSON →
library1.5.0vcpkgunverified

C++20 Coroutines helper/example library.

async
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

#include <coroutine/coroutine.hpp>

Define a coroutine generator that yields integers from start to end.

#include <coroutine/coroutine.hpp> #include <iostream> coroutine::generator<int> range(int start, int end) { for (int i = start; i < end; ++i) co_yield i; } int main() { for (int v : range(0, 5)) std::cout << v << ' '; std::cout << std::endl; return 0; }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
17 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
bingbot
1
mj12bot
1
ahrefsbot
1
Resources

No resource links recorded.