【Boost】Accumulators
摘要:1.CountThe count feature is asimple counter that tracks the number of samples pushed into the accumulatorset#include #include using namespace boost::accumulators;int main(int argc, char *argv[]){ accumulator_set > acc; acc(0); acc(1); acc(2); assert(count(acc) == 3); return 0;}2.Co...
阅读全文
posted @ 2014-03-29 02:23
浙公网安备 33010602011771号