|
HikoGUI
A low latency retained GUI
|
#include <hikogui/utility/generator.hpp>
Public Types | |
| using | difference_type = ptrdiff_t |
| using | value_type = std::decay_t<value_type> |
| using | pointer = value_type const * |
| using | reference = value_type const& |
| using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
| const_iterator (handle_type coroutine) | |
| const_iterator & | operator++ () |
| Resume the generator-function. | |
| value_proxy | operator++ (int) |
| decltype(auto) | operator* () const |
| Retrieve the value co_yielded by the generator-function. | |
| pointer * | operator-> () const noexcept |
| bool | at_end () const noexcept |
| bool | operator== (std::default_sentinel_t) const noexcept |
| 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.
|
inlinenoexcept |
Check if the generator-function has finished.