
Dean Michael Berris wrote:
On Wed, Dec 10, 2008 at 1:37 AM, David Abrahams <dave@boostpro.com> 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. Here:
http://svn.boost.org/svn/boost/branches/zip_iterator_fusion/boost/boost/iter...
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 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 availability. Any thoughts? Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net