Template Class WalkIterator

Class Documentation

template<class O, class H, class P>
class WalkIterator

a forward iterator on the nodes H (pointers or indices) of the owner O, from a first node, by the policy P with next( o , n , root ) and the constant none, the end, o being a pointer to the owner; *it is the node

Public Types

using value_type = H
using reference = H
using difference_type = std::ptrdiff_t
using iterator_concept = std::forward_iterator_tag
using iterator_category = std::input_iterator_tag

Public Functions

WalkIterator(void) = default
inline WalkIterator(const O *o, H n, H root)
inline reference operator*(void) const
inline WalkIterator &operator++(void)
inline WalkIterator operator++(int)
inline bool operator==(const WalkIterator &o) const