Struct Expr::cursor

Nested Relationships

This struct is a nested type of Class Expr.

Struct Documentation

struct cursor

Public Types

using value_type = ExprPtr

Public Functions

cursor() = default
inline explicit constexpr cursor(ExprPtr *subexpr_ptr) noexcept
inline explicit constexpr cursor(const ExprPtr *subexpr_ptr) noexcept

when take const ptr note runtime const flag

inline bool equal(const cursor &that) const
inline void next()
inline void prev()
inline ExprPtr &read() const
inline ExprPtr &read()
inline void assign(const ExprPtr &that_ptr)
inline std::ptrdiff_t distance_to(cursor const &that) const
inline void advance(std::ptrdiff_t n)