libcoro  1.0
Coroutine support library for C++20

◆ end()

template<typename T , coro_allocator Alloc = std_allocator>
auto coro::generator< T, Alloc >::end ( )
inline

retrieve end iterator

You can use range-for to read values. This is always input iterator. Note that access through the iterator is always synchronous. Current version of C++ (20) doesn't support asynchronous range-for

Returns
end iterator

Definition at line 235 of file generator.h.