A simple generator class that allows yielding values from a coroutine. Compatible with references and copy-constructible types.
Class Generator<T>
#include <Geode/utils/coro.hpp>template<typename T>classGenerator{ ... }
Examples0
Public static methods0
Public member functions6
geode::utils::coro::Generator&operator=()
No description provided
geode::utils::coro::Generator&operator=()
No description provided
geode::utils::coro::Generator::iterator_typebegin()
No description provided
geode::utils::coro::Generator::iterator_typeend()
No description provided
template<invocable<T&&> U>geode::utils::coro::Generator<std::invoke_result_t<U,T&&>>map(U&&func)
No description provided
template<predicate<T const&> U>geode::utils::coro::Generator<T>filter(U&&func)
No description provided