Subject: Re: [boost] [iterators] zip_iterator doesn't work with GCC's TR1 tuple?
From: Joel de Guzman (joel_at_[hidden])
Date: 2008-12-09 23:19:34
Dean Michael Berris wrote:
> On Wed, Dec 10, 2008 at 1:37 AM, David Abrahams <dave_at_[hidden]> wrote:
>> on Tue Dec 09 2008, David Abrahams <dave-AT-boostpro.com> wrote:
>>> I have a fusion-based implementation checked in on a branch somewhere.
> Thanks Dave, I'll give this a try.
It needs a little work for fusion still. While fusion is TR1
savvy, it thinks (through Boost TR1 [http://tinyurl.com/5awnzn])
that it *is* TR1. Not any other rendition of it. So, fusion
needs to somehow detect which TR1 version you are using (Boost
or gcc). In the case of Boost, nothing needs to be done. In the
case of GCC's, fusion needs an adapter similar to that of
Any suggestion on a better way to do the mapping/adapting
appreciated. Adapting fusion to any other tuple-like entity
is easy (Dean, you might want to give it a try, patch welcome).
The tricky part is how to disable the one over the other on
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk