|
HikoGUI
A low latency retained GUI
|
#include <hikogui/generator.hpp>
Public Types | |
| using | difference_type = ptrdiff_t |
| using | value_type = std::remove_cv_t<value_type> |
| using | pointer = value_type * |
| using | reference = value_type & |
| using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
| iterator (handle_type coroutine) | |
| iterator & | operator++ () |
| Resume the generator-function. | |
| value_proxy | operator++ (int) |
| value_type const & | operator* () const |
| Retrieve the value co_yielded by the generator-function. | |
| value_type const * | operator-> () const |
| bool | operator== (std::default_sentinel_t) const |
| Check if the generator-function has finished. | |
A forward iterator which iterates through values co_yieled by the generator-function.
|
inline |
Retrieve the value co_yielded by the generator-function.
|
inline |
Resume the generator-function.
|
inline |
Check if the generator-function has finished.