Class expr_range

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public ranges::view_facade< expr_range >

Class Documentation

class expr_range : public ranges::view_facade<expr_range>

a view of the leaves/atoms of an Expr tree

See also

Expr::visit

Note

this is just like view::join, except fully recursive and its iterator provides not only elements but also their indices as well as the host ranges.

Note

to traverse all nodes, not just the leaves, use Expr::visit

Public Types

using base_type = ranges::view_facade<expr_range>

Public Functions

expr_range() = default
inline explicit expr_range(ExprPtr top)
expr_range(const expr_range&) = default
expr_range(expr_range&&) = default
expr_range &operator=(const expr_range&) = default
expr_range &operator=(expr_range&&) = default
inline ExprPtr top() const