|
Boost Users : |
Subject: Re: [Boost-users] [fusion] incremental zipping
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-11-20 12:54:14
Gennadiy Rozental wrote:
> Hi,
>
> I am zipping fusion sequences in a series of incremental zip
> operations:
>
> zip(zip(zip(a,b),c),...)
>
> as a result I am getting sequence with elements like:
>
> vector2<vector2<vector2<a[i],b[i]>,c[i]>,...>
>
> what I want instead is that elements would look like:
>
> vector<a[i],b[i],c[i],...>
>
> What the simplest way to achieve this?
>
> Gennadiy
I think what you want is "deduce_sequence" - it's in the docs
Robert Ramey
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net