Async++ unknown
Async (co_await/co_return) code for C++
|
Generator coroutine class. More...
#include <asyncpp/generator.h>
Public Types | |
using | promise_type = detail::generator_promise<T, Allocator> |
The promise type. | |
using | iterator = detail::generator_iterator<T, Allocator> |
The iterator type. | |
Public Member Functions | |
generator (coroutine_handle< promise_type > coro) noexcept | |
generator (generator &&other) noexcept | |
generator (const generator &)=delete | |
generator & | operator= (generator &&other) noexcept |
generator & | operator= (const generator &)=delete |
iterator | begin () |
constexpr detail::generator_end | end () const noexcept |
Generator coroutine class.