
25 Feb
2011
25 Feb
'11
2:44 a.m.
I am attempting to use a fusion sequence with a visitor pattern that expects 'member function' or 'member data' pointers. What I would like to do is something like: &fusion::vector<int,double>::m1 But obviously this cannot work because of how fusion::vector<int,double> is implemented with a single vector_n<...> vec data member that is private. So trying to "reflect" a vector in the same way that I "reflect" a struct does not work. Any good ideas? Is there any reason why this 'implementation detail' needs to be hidden? Dan