
8 May
2011
8 May
'11
4:25 p.m.
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