$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [accumulators] why not operator+=?
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2009-01-30 15:07:10
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.
>
Not sure what you mean by addition. Here, we are 'adding' a new sample (or
samples) to the collection of samples. It doesn't matter whether the
underlying accumulator then uses 'addition' or not. Seems clear to me.