Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2007-02-16 22:47:54


"Matthias Troyer" <troyer_at_[hidden]> wrote in message
news:B503A931-963F-4F5B-8DCF-C6617D48EAAD_at_phys.ethz.ch...
>
> On 16 Feb 2007, at 19:24, Gennadiy Rozental wrote:
>
>>
>> Anyway. IMO almost any solution would be good enough for me.
>> v.update()
>> would work either.
>
> Why is
>
> acc(v);
>
> a problem if
>
> v.update();
>
> is fine?

I never said it's a problem. But from what understand it's completely
different thing. acc(0) would be more close to v += 0; acc(v) is more like
v *= 2;

Genandiy


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