11 #ifndef __ACCUMULATOR_HEADER
12 #define __ACCUMULATOR_HEADER
25 template<
typename item,
typename next_item>
26 struct add_dependecies_rec {
29 ,
typename add_dependecies_rec<
typename next_item::type
30 ,
typename next_item::next>::type
35 template<
typename item>
36 struct add_dependecies_rec<item, util::list_end> {
43 template<
typename list>
44 struct add_dependecies {
45 typedef typename add_dependecies_rec<typename list::type, typename list::next>::type type;
49 template<
typename T,
typename list>
66 template<
typename T = double
79 , typename util::invert_list<
80 typename util::unique_list<
81 typename detail::add_dependecies<
82 typename util::make_list<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9>::type
89 #endif //__ACCUMULATOR_HEADER
Definition: module.hpp:33
Definition: accumulator.hpp:78
Definition: meta_list.hpp:17
Definition: meta_list.hpp:99
Definition: module.hpp:26
accumulator_base< T > type
Definition: accumulator.hpp:63
module< T, typename list::type, typename accumulator_deriver< T, typename list::next >::type > type
Definition: accumulator.hpp:58
Definition: accumulator.hpp:50