Subject: Re: [boost] Trouble caused by MPL's metafunction arity limit
From: Stefan (mstefanro_at_[hidden])
Date: 2010-07-19 21:24:02
Larry Evans wrote:
> On 07/19/10 20:09, Stefan wrote:
>> Hello everyone. I'm working as a student on this year's GSoC and I
>> have ran into a small problem while using MPL in my code.
>> In a nutshell, I have a class template which takes 6 template
>> parameters, and I would like to use it with some MPL algorithms.
>> The problem is, MPL is configured by default to be capable of working
>> with 5 template params only, so lambda expressions of my class won't
>> work with MPL metafunctions.
> with gcc. It *may* work with any number of arguments; however,
> I not real sure. Many, but not all, of the mpl templates there
> have been replaced with ones taking any nunber or arguments.
> Unsubscribe & other changes:
That looks like a very nice library. However, I work on a Boost library,
therefore I can't rely on features available on recent versions of
compilers only (such as variadic templates).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk