Boost logo

Boost :

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 <> wrote:
>>> I have a fusion-based implementation checked in on a branch somewhere.
>> Here:
> 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 [])
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
fusion/boost_tuple adapter.

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

Any thoughts?


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at