ImplicitVar#

template<int N = -1>
struct ImplicitVar#

A compile-time template struct representing an implicit variable.

This is used to implement the placeholder variable _ and the predeclared implicit variables _0 through _9. The template parameter N specifies the implicit variable index, or -1 for the placeholder.

Public Functions

inline Var to_var() const#

Convert this ImplicitVar to a Var.

inline operator Var() const#

Implicit conversion to Var.

inline operator Expr() const#

Implicit conversion to Expr.