2011/1/22 Vivek <vivek_at_[hidden]> 
> Or alternatively, is there a direct way to initialize a fusion vector? 

IIUC, its ctor just do the job, not? 

The problem is I don't know the arity or parameter types of the function being called. I just have a source of data (which can be simplified to TYPE data = data_source<TYPE>().pop();) and arbitrary functions being passed in.

One alternative is to code-generate template specializations for a bunch of arity and use the constructor like you suggested. But I feel the "arity code generation" thing has been done so many times and so much better in boost that I should be able to use a transform or invoke function to take advantage of that. That's why I started trying to use fusion.