6 Dec
2019
6 Dec
'19
2:18 p.m.
On Fri, 6 Dec 2019 at 08:55, Andres Llopis via Boost
Hi everyone,
I am trying to make my own version of combine so that it works also with std::tuples. Someone on slack suggested that the zip iterator should be able to handle it properly. My attempt however fails when trying to use the metafunction tuple_of_references::type for the std::tuple of iterators. This is what I tried (https://godbolt.org/z/Ymjtvn):
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>().