Generic tuple of accumulators.
More...
#include <tuple.hh>
Inherits mln::accu::internal::base< boost::tuple< BOOST_PP_REPEAT(10, RESULT_ACCU, Le Ricard ya que ca de vrai!) >, tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> >.
|
| bool | is_valid () const |
| | Check whether this accu is able to return a result.
|
| |
| void | take_as_init (const T &t) |
| | Take as initialization the value t.
|
| |
| void | take_n_times (unsigned n, const T &t) |
| | Take n times the value t.
|
| |
| res | to_result () const |
| | Get the value of the accumulator.
|
| |
|
| void | init () |
| | Manipulators.
|
| |
template<typename A, unsigned n, BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(10, typename T, boost::tuples::null_type)>
struct mln::accu::tuple< A, n, >
Generic tuple of accumulators.
The parameter T is the type of values.
Definition at line 74 of file tuple.hh.
template<typename A , unsigned n, BOOST_PP_ENUM_PARAMS(10, typename T) >
template<typename A , unsigned n, BOOST_PP_ENUM_PARAMS(10, typename T) >
Check whether this accu is able to return a result.
Always true here.
Definition at line 239 of file tuple.hh.
Take as initialization the value t.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
| void mln::Accumulator< tuple< A, n, BOOST_PP_ENUM_PARAMS(10, T)> >::take_n_times |
( |
unsigned |
n, |
|
|
const T & |
t |
|
) |
| |
|
inherited |
Take n times the value t.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
template<typename A , unsigned n, BOOST_PP_ENUM_PARAMS(10, typename T) >
Get the value of the accumulator.
Definition at line 229 of file tuple.hh.