
From: Alberto Ganesh Barbati <abarbati@iaanus.com>
I'm sorry I'm not an MPL expert so I can't give you feedback about the usefulness of this class. It looks interesting though. What I would like to say is that you should choose a name different from "permute" because it is misleading.
I was actually looking for a better name myself but couldn't come up with one, other than 'generate' :-) Combine sounds alright to me.
Moreover you say that the synthesized list has no particular order. This looks a very different operation to me.
Of course the order of the resulting types is not random. Observing the output of my test program with the following argument lists and T = base<_1,_2>: args1 = 0,1 args2 = 0,1,2,3 the resulting vector will contain the types in the following order: base<0,0>, base<0,3>, base<0,2>, base<0,1>, base<1,0>, base<1,3>, base<1,2>, base<1,1> I uploaded the code for binary lambda expressions at http://oceanstar.sourceforge.net/combine.h Kevin Sopp _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/