Steven Watanabe | 17 Jul 04:52

Re: [fusion] constructing all elements of the fusion vector with the same argument

AMDG

Joel de Guzman wrote:
>>> Man! The fold algorithm can even be implemented in terms of this
>>> view. The only difference is that each "fold" is computed along the
>>> way. Maybe we should just call it "fold_view" ?
>
> So, can this too be implemented in terms of fusion/mpl alone?

I don't think so.  The state would need to be stored in
the iterator and the function object called by next(), right?
None of the available fusion views supports this.

In Christ,
Steven Watanabe

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane