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

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
 
generatoroperator= (generator &&other) noexcept
 
generatoroperator= (const generator &)=delete
 
iterator begin ()
 
constexpr detail::generator_end end () const noexcept
 

Detailed Description

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

Generator coroutine class.


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