Re: [boost] [Review] Review of the Accumulators library beginstoday Jan 29

31 Jan
2007
31 Jan
'07
7:11 p.m.
AMDG "John Maddock" wrote:
Right: and for some accumulators the addition of two accumulators may not be possible at all. But can't we make this a conceptual requirement that if you try and combine two accumulator sets, then each accumulator must have a "combine" method (otherwise you get a compile time error). The "combine" methods for min/max/sum/count etc are all trivial aren't they - and could be added fairly easily ? But Eric would know the details :-)
John. Why not let accumulator_set support a fusion sequence interface? Then combine/reset could be implemented using fusion::for_each, right?
In Christ, Steven Watanabe
6705
Age (days ago)
6705
Last active (days ago)
0 comments
1 participants
participants (1)
-
Steven Watanabe