Boost logo

Boost :

From: Markus Werle (numerical.simulation_at_[hidden])
Date: 2008-03-18 04:29:39


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


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