18 Feb
2010
18 Feb
'10
5:37 p.m.
Hi,
I am trying to apply fusion::for_each on a sequence, but inside the unary
functor applied to each element, I need to know the index of the element in
question, because I need to extract elements with the same index from other
sequences.
fusion::vector<...> fseq1;
fusion::vector<...> fseq2;
fusion::vector<...> fseq3;
fusion::vector<...> fseq4;
fusion::for_each( fseq1, functor<...>(fseq2, fseq3, fseq4) );
template