#ifndef TYPEASVALUE_SRC_LIST_GENERATOR_MAKE_LIST_H_ #define TYPEASVALUE_SRC_LIST_GENERATOR_MAKE_LIST_H_ #include "list/cons.h" #include "operation/math.h" namespace tav { template < typename Count, typename Element > struct MakeList { typedef typename Cons< Element, typename MakeList< Substract>, Element >::type >::type type; }; template struct MakeList, Element> { typedef typename Cons::type type; }; } #endif // TYPEASVALUE_SRC_LIST_GENERATOR_MAKE_LIST_H_