Template Class LinkedIterator
Defined in File Iterators.h
Class Documentation
-
template<class C, class V, C *C::* Next, V C::* Value, bool Const = true>
class LinkedIterator a forward iterator along the cells C linked by the member Next, on the items V in the member Value; nil is the end
Public Types
-
using iterator_category = std::forward_iterator_tag
-
using difference_type = std::ptrdiff_t
Public Functions
-
LinkedIterator(void) = default
-
inline explicit LinkedIterator(Cell *c)
-
template<bool K>
inline LinkedIterator(const LinkedIterator<C, V, Next, Value, K> &o) the constant iterator from the mutable one
-
inline LinkedIterator &operator++(void)
-
inline LinkedIterator operator++(int)
-
bool operator==(const LinkedIterator &o) const = default
-
inline Cell *cell(void) const
the cell of the item, nil at the end
-
using iterator_category = std::forward_iterator_tag