|
Boost Users : |
Subject: Re: [Boost-users] [Iterator] zip iterator with std::tuple or std::pair
From: Richard Hodges (hodges.r_at_[hidden])
Date: 2017-03-23 15:23:06
> Try
> #include <boost/fusion/adapted/std_pair.hpp>
> or
> #include <boost/fusion/adapted/std_tuple.hpp>
Does the community think it's reasonable that `boost::zip_iterator` should
automatically support `std::tuple` when c++11 or better is detected?
It seems to me that this would be less surprising and encourage more use of
the (fantastic) zip_iterator.
On 23 March 2017 at 14:50, Michel Morin via Boost-users <
boost-users_at_[hidden]> wrote:
> Matthias Wohlgemuth wrote:
> > as far as I understand the zip_iterator is compatible also with STL tuple
> > and pair.
>
> Try
> #include <boost/fusion/adapted/std_pair.hpp>
> or
> #include <boost/fusion/adapted/std_tuple.hpp>
> .
>
> Regards,
> Michel
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net