Async++ unknown
Async (co_await/co_return) code for C++
Loading...
Searching...
No Matches
asyncpp::async_generator< T, Allocator > Class Template Reference

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_generatoroperator= (async_generator &&other) noexcept
 
 async_generator (const async_generator &)=delete
 
async_generatoroperator= (const async_generator &)=delete
 
auto begin () noexcept
 
iterator end () noexcept
 
void swap (async_generator &other) noexcept
 

Detailed Description

template<typename T, ByteAllocator Allocator>
class asyncpp::async_generator< T, Allocator >

Generator coroutine class supporting co_await.


The documentation for this class was generated from the following file: