
3 Nov
2006
3 Nov
'06
3 p.m.
Hi people 3 years of C# programming is eroding my metaprogramming habilities :( Say I have a few arbitraty function objects: A a ; B b ; C c ; I can easily pipe them toghether using Boost.Bind: bind(a, bind(b, bind(c,_1) ) )(some_starting_value); But how do I create such a composed functor programatically from an aribtrary tuple of function objects, as in tuple<A,B,C>? The idea is to present to the user a simple interface were he pass just a tuple of functors and I do the magic of turning them into a pipe. TIA -- Fernando Cacciola SciSoft http://fcacciola.50webs.com/