Async++ unknown
Async (co_await/co_return) code for C++
|
Generator coroutine class supporting co_await. More...
#include <asyncpp/async_generator.h>
Public Types | |
using | promise_type = detail::async_generator_promise<T, Allocator> |
using | iterator = detail::async_generator_iterator<T> |
Public Member Functions | |
async_generator (coroutine_handle< promise_type > coro) noexcept | |
async_generator (async_generator &&other) noexcept | |
async_generator & | operator= (async_generator &&other) noexcept |
async_generator (const async_generator &)=delete | |
async_generator & | operator= (const async_generator &)=delete |
auto | begin () noexcept |
iterator | end () noexcept |
void | swap (async_generator &other) noexcept |
Generator coroutine class supporting co_await.