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 _______________________________________________ proto mailing list proto@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/proto