Boost logo

Boost :

Subject: Re: [boost] Trouble caused by MPL's metafunction arity limit
From: Larry Evans (cppljevans_at_[hidden])
Date: 2010-07-19 21:22:00

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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at