Registry / async / cpp-async

cpp-async

JSON →
library1.2.0vcpkgunverified

Support types and functions for C++20 coroutines.

vcpkg install cpp-async
INSTALL
IMPORT
SIG · CPP-ASYNC
C
cpp-async
asynccppv1.2.0
harness data pending
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.

cpp-async/async.h
#include <cpp-async/async.h>

Define and run a simple coroutine task.

#include <cpp-async/async.h> #include <iostream> async::task<int> compute() { co_return 42; } int main() { auto result = compute().get(); std::cout << result << std::endl; return 0; }
Debug
Known issues
gotchaRequires C++20 and a compiler with coroutine support.
fix
Use GCC 10+, Clang 14+, or MSVC 2019 16.8+ with /std:c++20.
affects: *
Upgrade
Version history
1.2.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
17
Resources

No resource links recorded.

cpp-async — pip install cpp-async · libregistry