
18 Mar
2008
18 Mar
'08
8:29 a.m.
Eric Niebler <eric <at> boost-consulting.com> writes:
Markus Werle wrote: [...]
How can I do this in proto?
Do you *really* want to use proto::expr<> to hold the result, or will any Fusion sequence do?
proto::expr, I want to stay within proto context (sic!)
The reason I ask is because if you use expr<>, you are limited to BOOST_PROTO_MAX_ARITY elements, which is probably too low. And bumping BOOST_PROTO_MAX_ARITY gets expensive.
Alarm level red: You have measurements: what is the implication of setting BOOST_PROTO_MAX_ARITY to values greater than 10 considering compile time? Markus