
Quoting Dean Michael Berris <mikhailberis@gmail.com>:
Has anybody successfully used Boost.Iterator's zip_iterator with TR1 tuples from GCC's libstdc++?
I keep getting errors like "error: no type named 'head_type' in 'class std::tr1::tuple<..." when using TR1 tuples with the zip_iterator implementation in Boost 1.35.0 -- am I missing something?
The implementation of zip_iterator depends on the implementation of (boost::)tuple. The authors of zip_iterator were aware this was sub-optimal and specifially put all tuple-implementation-specific code in a namespace inside the detail namespace to aid future changes. The code is fairly old though.. it would be interesting to know if the tuple concept is now mature enough to admit a generic implementation.