Subject: Re: [boost] [fusion] Any chance we can incorporate more folds?
From: Eric Niebler (eric_at_[hidden])
Date: 2010-08-20 23:58:12
On 8/20/2010 11:40 PM, Larry Evans wrote:
> On 08/20/10 16:21, Steven Watanabe wrote:
>> We already have reverse_fold, which makes 2/4.
> fusion::reverse_fold takes the sequence as the first argument.
> In contrast, the haskell function takes the sequence as the last
Fusion and mpl are trying to be consistent with the STL algorithms, not
Haskell (fold == accumulate).
-- 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