Subject: Re: [boost] [iterators] zip_iterator doesn't work with GCC's TR1 tuple?
From: David Abrahams (dave_at_[hidden])
Date: 2008-12-09 12:37:53
on Tue Dec 09 2008, David Abrahams <dave-AT-boostpro.com> wrote:
> on Tue Dec 09 2008, Peter Bartlett <pete-AT-pcbartlett.com> wrote:
>> Quoting Dean Michael Berris <mikhailberis_at_[hidden]>:
>>> 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
> I have a fusion-based implementation checked in on a branch somewhere.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk