![]() |
Home | Libraries | People | FAQ | More |
Once you have constructed a Proto expression tree, either by using Proto's
operator overloads or with proto::make_expr()
and friends, you probably want to actually do something
with it. The simplest option is to use proto::eval(), a generic expression evaluator. To use
proto::eval(), you'll need to define
a context that tells proto::eval()
how each node should be evaluated. This section goes through the nuts and
bolts of using proto::eval(), defining evaluation contexts,
and using the contexts that Proto provides.
![]() |
Note |
|---|---|
|