Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-03-18 18:51:42


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk