|
Boost : |
Subject: Re: [boost] [proto][phoenix][msm] proto limits increased to 10, phoenix broken on trunk
From: Eric Niebler (eric_at_[hidden])
Date: 2011-05-08 12:25:20
On 5/8/2011 11:08 PM, Hartmut Kaiser wrote:
> Just a question: what's your rationale of limiting the generated pp headers to an arity of 10?
> MPL and Phoenix have it set up for higher arities as well (as you probably know).
Phoenix doesn't have it set higher. Or, it did, but it was a bug.
Perhaps you meant Fusion. Yes, it's higher for Fusion and MPL. The
reason for 10 and not something higher (yet) is because there is N^2
overloads of expr::operator() on compilers that don't support variadic
templates. And with BLL and Bind and Phoenix, there's a history of
supporting arities up to 10 and no more. I'm balancing keeping it fast
and light(-ish) and making it useful in the real world.
-- Eric Niebler BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk