Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-01-26 11:03:18


Joel de Guzman <joel_at_[hidden]> writes:

> Rene Rivera wrote:
>> David Abrahams wrote:
>>
>>>Rene Rivera <grafik.list_at_[hidden]> writes:
>>>
>>>
>>>>PS. Of course if an ArgumentPack also modeled an MPL Forward Sequence it
>>>>would be peachy ;-) Perhaps an adapter that provides such a model from
>>>>the arg_list?
>>>
>>>It wouldn't be enough to model an MPL sequence if you want to get at
>>>the actual values of the arguments :)
>>
>>
>> But I could get the value with the key assuming I bind the ArgumentPack
>> var into a lambda that gets the value and pass that to an mpl::for_each.
>> Right?
>>
>>
>>>It should model a fusion sequence, but IIRC fusion isn't in the main
>>>CVS yet.
>>
>>
>> Well given that I would prefer making it work with 1.33.1 even having
>> the fusion sequence wouldn't help here :-(
>
> Fusion1 has been part of Spirit since 1.31.0. It's quite stable and
> has been there for quite some time now. Fusion2 is in the review
> queue.

Would you like to help us make the ArgumentPack a fusion sequence?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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