|
Boost : |
Subject: Re: [boost] [accumulators] why not operator+=?
From: Rodolfo Lima (rodolfo_at_[hidden])
Date: 2009-01-30 17:13:14
Neal Becker escreveu:
> 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.
Why not use operator<< like std::ostream uses? It implies something
getting into something else, just the case here (IMHO).
[]s,
rod
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk