
18 Mar
2008
18 Mar
'08
10:51 p.m.
AMDG Eric Niebler wrote:
What is not readable here and how many operands are in the whole expression?
I don't see anything besides unary and binary expressions here, so a max arity of 2 would suffice for your purposes.
If you want to iterate over all the terms in a transform use fold_tree. I don't see any benefit of flattening the expression, besides making things harder for proto :) In Christ, Steven Watanabe