Boost logo

Boost :

Subject: Re: [boost] [Proto] Expression as fusion/MPL sequence
From: Eric Niebler (eric_at_[hidden])
Date: 2011-06-03 05:00:05


On 6/2/2011 11:12 AM, Joel falcou wrote:
> On 01/06/11 22:24, Eric Niebler wrote:
>
>> Proto expressions are random access, but flattened views are
>> forward-only. That's a limitation of the current implementation of the
>> segmented Fusion stuff. It's a known problem. Segmented fusion needs a
>> complete rewrite, but it's a metaprogramming Everest, and I'm too tired
>> to climb it again. Some hot-shot metaprogramming wunderkind should try
>> cutting his/her teeth on that problem. They'd earn my eternal admiration
>> and appreciation.
>
> Oh OK. So i may just need to *not* flatten them.

I just updated the docs to state that flatten returns a Fusion Forward
Sequence.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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