Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2021. The current version is 1.89.0.
Spawn a resumable coroutine.
template<
typename Executor,
typename CompletionToken>
DEDUCED co_spawn(
coro< void(), void, Executor > c,
CompletionToken && token);
This function spawns the coroutine for execution on its executor. It binds the lifetime of the coroutine to the executor.
The coroutine
The completion token
Implementation defined