Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Accumulators: how to use with objectdatamembers?
From: Joost Kraaijeveld (J.Kraaijeveld_at_[hidden])
Date: 2009-04-12 14:14:26


On Sun, 2009-04-12 at 13:15 -0400, er wrote:
> >
[snip]
> NB: acc = has been ommitted.
>
Cool, it works as advertised ;-)

Could you try to enlighten and attempt to explain why your solution
works? Especially, why does it work without the assignment which is
the example from the docs?

BTW: I have not tried it (yet) but should it work with Lambda functions
(e.g. calling member function instead of data members)?

Thanks again,

-- 
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net