
21 Aug
2010
21 Aug
'10
3:58 a.m.
On 8/20/2010 11:40 PM, Larry Evans wrote:
On 08/20/10 16:21, Steven Watanabe wrote: [snip]
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 argument. <snip>
Fusion and mpl are trying to be consistent with the STL algorithms, not Haskell (fold == accumulate). -- Eric Niebler BoostPro Computing http://www.boostpro.com