Struct ExprRange::cursor¶
Defined in File expr_range.hpp
Nested Relationships¶
This struct is a nested type of Class ExprRange.
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 void next()¶
-
inline auto address() const¶
-
inline auto ordinal() const¶
-
cursor() = default¶