|
Boost : |
From: Kevin Sopp (baraclese_at_[hidden])
Date: 2005-11-11 16:14:17
>From: Alberto Ganesh Barbati <abarbati_at_[hidden]>
>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/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk