
17 Jul
2008
17 Jul
'08
2:52 a.m.
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