Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-07-27 02:15:18


on Thu Jul 26 2007, Joel de Guzman <joel-AT-boost-consulting.com> wrote:

> David Abrahams wrote:
>> on Tue Jul 24 2007, "Stjepan Rajko" <stipe-AT-asu.edu> wrote:
>>
>>> Hello,
>>>
>>> I was just wondering whether there are plans to add the zip_iterator
>>> based on fusion to CVS HEAD. The following post mentions it:
>>>
>>> http://lists.boost.org/Archives/boost/2006/12/114613.php
>>
>> Only when we can do it without breaking anything. That means:
>>
>>
>> 0. boost::tuple is a valid fusion tuple
>
> boost::tuple is a valid fusion tuple. I don't understand the
> reason for this requirement though.

Because the current zip_iterator operates on boost::tuple. If we
change it to use fusion under the covers, it should continue to work
with boost::tuple or we'll break code.

>> 1. The subset of Fusion we use works on all the same broken
>> compilers, or
>
> No, sorry :( But can't we keep the ifdef?

"Keep?" I think you mean "add." I guess we could add one; it's not a
big win in my book, though, since people can use boost::tuple with
fusion.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk