Boost logo

Boost :

From: Klemens Morgenstern (klemensdavidmorgenstern_at_[hidden])
Date: 2023-07-24 15:37:45


No and no.

They're asynchronous, which means they're able to co_await asynchronous
tasks such as an async_read, and thus need an event loop (e.g.
asio::io_context).

The C++23 generators are synchronous and thus are a different category and
thus would not fit this library.

On Mon, Jul 24, 2023 at 11:33 PM Phil Endecott via Boost <
boost_at_[hidden]> wrote:

> Klemens Morgenstern wrote:
> > I am seeking endorsement for my C++20 async coroutine library
> boost.async.
>
> > - coroutine types (eager, lazy, generators)
>
> Can the generators be used without ASIO? Are they compatible
> the the C++23 std::generator?
>
>
> Regards, Phil.
>
>
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk