6 Dec
2019
6 Dec
'19
3:09 p.m.
On Fri, 6 Dec 2019, 14:44 Andres Llopis,
zip_iterator works with fusion sequences. Make sure you include boost/fusion/adapted/std_tuple.hpp
Also std::get<N>(x), not x.get<N>().
Thanks Mathias, including fusion adapted std tuple kind of works, only remaining issue is that I cannot use the std::get<> overloads with a type instead of an int:
What could be the problem?
Tuples do not support this operation; conceptually it makes no sense. You can write code that finds the first element of a tuple of a certain type, but you can have arbitrary amounts of elements of that type. In any case this has nothing to do with the problem you originally posted.