Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7526: zip_iterator does not support std::tuple and std::pair
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-18 12:06:45
#7526: zip_iterator does not support std::tuple and std::pair
-----------------------------------+----------------------------------------
Reporter: claas.koehler@⦠| Owner: dave
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: iterator
Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords: zip_iterator, std::tuple, std::pair
-----------------------------------+----------------------------------------
Changes (by Kohei Takahashi <flast@â¦>):
* cc: flast@⦠(added)
Comment:
How about use Boost.Fusion instead of Boost.Tuple? I'll attach 5 patches.
First, bug7513.patch fixes #7513.[[br]]
boost_tuple-convert.patch adapts Boost.Tuple to Boost.MPL algorithms via
Boost.Fusion.[[br]]
std_tuple-convert.patch similar to above one, but for std::tuple.[[br]]
zip_iterator.patch is main patch of this changes: rebase impl of
zip_iterator to Boost.Fusion.[[br]]
Finally, std_pair-specialization.patch is specialization for std::pair.
This changes have backward compatibility: iterator/zip_iterator.hpp
includes fusion/adapted/boost_tuple.hpp implicitly.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7526#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC