libcoro
1.0
Coroutine support library for C++20
coro
generator
begin
end
generator
generator
operator bool
operator()
reference
value_type
◆
operator bool()
template<typename T , coro_allocator Alloc = std_allocator>
coro::generator
< T, Alloc >::operator bool
(
)
const
inline
explicit
Determines state of generator.
Return values
true,generator
is generating
false,generator
is done
Note
if you call the generator, this state is not updated until you actually access the returned (future) value.
Definition at line
207
of file
generator.h
.
Generated on Fri Aug 2 2024 15:51:50 for libcoro by
1.9.1