Boost logo

Boost :

Subject: Re: [boost] [accumulators] why not operator+=?
From: John Phillips (phillips_at_[hidden])
Date: 2009-01-30 20:12:14


Eric Niebler wrote:
> Neal Becker wrote:
>> A nit perhaps, but why not overload += to process samples?
>>
>
> Would that be horribly misleading if the accumulator set isn't actually
> doing addition? I'm happy with the function-style interface.
>

   Just personal preference, but I also prefer the function style
interface. A += interface would imply addition to me, whether it is what
is really happening or not.

                        John


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk