Hi

I want to write a function like that

template<class A, class T0, class T1, ..., class Tn>
execute(const A& a, T0& arg0, T1& arg&, .. , Tn& argn)
{
    boost::fusion::vector<T0,...,Tn> vec(arg0, arg1, .., argn);
    /* rest of the code */
}

Can anybody guide me how can I write this function without overloading it with different number of args?

Thanks in anticipation
Noman Javed