Template Class SubtreeIteratorBase

Class Documentation

template<typename NodeT, typename DerivedT>
class SubtreeIteratorBase

Public Types

using difference_type = std::ptrdiff_t
using value_type = NodeT
using pointer = NodeT*
using reference = NodeT&
using iterator_category = std::forward_iterator_tag

Public Functions

inline NodeT &operator*()
inline const NodeT &operator*() const
inline NodeT *operator->()
virtual DerivedT &operator++() = 0
inline DerivedT operator++(int)

Friends

inline friend bool operator==(const SubtreeIteratorBase &lhs, const SubtreeIteratorBase &rhs)
inline friend bool operator!=(const SubtreeIteratorBase &lhs, const SubtreeIteratorBase &rhs)