|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
A position of the walk: the element, the next state, live. More...
Public Types | |
| using | value_type = element_type |
| using | difference_type = std::ptrdiff_t |
| using | iterator_concept = std::forward_iterator_tag |
Public Member Functions | |
| constexpr | iterator (const S &seed, Coalg step) |
| constexpr value_type | operator* () const |
| constexpr iterator & | operator++ () |
| Unfold the next state. | |
| constexpr iterator | operator++ (int) |
Friends | |
| constexpr bool | operator== (const iterator &a, const iterator &b) |
| constexpr bool | operator== (const iterator &it, std::default_sentinel_t) |
A position of the walk: the element, the next state, live.
|
inlineconstexpr |
| seed | the first state. |
| step | the coalgebra. |
|
inlineconstexpr |
|
inlineconstexpr |
Unfold the next state.
|
inlineconstexpr |
|
friend |
|
friend |