Thanks, that worked now. I like the fusion::for_each loop, it's very handy!
Anyway, when I started this thread I actually had something else in my
mind. As you can see the doSomething() is templated. I would like to
create a type vector depending on the template parameter, here S. Is
that possible?
I could image to have something like this ( beware bad pseudo code ):
template <class S> void doSomething( S& s )
{
//create vector depending on S's length
typedef fusion::vector