
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. [snip] Try:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/
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: http://lists.boost.org/mailman/listinfo.cgi/boost
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). Stefan