Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2019-12-06 15:09:07

On Fri, 6 Dec 2019, 14:44 Andres Llopis, <allopis_at_[hidden]> wrote:

> > 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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at