|
Boost : |
Subject: Re: [boost] [iterators] zip_iterator doesn't work with GCC's TR1 tuple?
From: Shayne_Fletcher_at_[hidden]
Date: 2008-12-09 18:10:30
Pete Bartlett wrote on 10/12/2008 01:45:51:
> 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 implementation.
It would be very nice if going forward, zip_iterator were to work
with Boost.Fusion too.
-- Shayne Fletcher This e-mail, including attachments, is intended for the person(s) or company named and may contain confidential and/or legally privileged information. Unauthorized disclosure, copying or use of this information may be unlawful and is prohibited. If you are not the intended recipient, please delete this message and notify the sender. All incoming and outgoing e-mail messages are stored in the Swiss Re Electronic Message Repository. If you do not wish the retention of potentially private e-mails by Swiss Re, we strongly advise you not to use the Swiss Re e-mail account for any private, non-business related communications.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk