#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 Cons< Element, typename MakeList< Substract>, Element >::type > type; }; template struct MakeList, Element> { typedef Cons type; }; } #endif // TYPEASVALUE_SRC_LIST_GENERATOR_MAKE_LIST_H_