Base class for implementation of accumulators. More...
#include <accumulator.hh>

Public Member Functions | |
| template<typename T > | |
| void | take_as_init (const T &t) | 
Take as initialization the value t.   | |
| template<typename T > | |
| void | take_n_times (unsigned n, const T &t) | 
Take n times the value t.   | |
Base class for implementation of accumulators.
The parameter E is the exact type.
Definition at line 78 of file accumulator.hh.
| void mln::Accumulator< E >::take_as_init | ( | const T & | t | ) | 
Take as initialization the value t. 
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
Definition at line 186 of file accumulator.hh.
References mln::mln_exact().
| void mln::Accumulator< E >::take_n_times | ( | unsigned | n, | |
| const T & | t | |||
| ) | 
Take n times the value t. 
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
Definition at line 213 of file accumulator.hh.
References mln::mln_exact().
 1.7.1