Boost logo

Boost Users :

Subject: [Boost-users] accumulator operations
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2011-07-01 02:59:56


I like to collects some stats. There are several data slices where I can
partially/separated collect them (each of them). Finaly I like to
combine these stats to a single one to get summarized informations. How
to? May this work:

accumulator_set<..> acc1;
accumulator_set<..> acc2;
accumulator_set<..> acc_all;
acc_all += acc1;
acc_all += acc2;

Because did not found informations about. The same problem woulde be
probably for a threaded implementation too.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at