Struct expr_range::cursor

Nested Relationships

This struct is a nested type of Class expr_range.

Struct Documentation

struct cursor

the cursor type

Public Functions

cursor() = default

constructs an uninitialized cursor

inline cursor(ExprPtr &top)

constructs a cursor pointing to the begin, if range is not empty

Note

has O(d) complexity (where d = tree depth)

inline cursor(ExprPtr &top, ranges::default_sentinel_t)

constructs a cursor pointing to the end

Note

has O(1) complexity

inline ExprPtr &read() const
inline bool equal(const cursor &that) const
inline void next()
inline const auto address() const
inline const auto ordinal() const