diff options
Diffstat (limited to 'src/list/generator/make_list.h')
-rw-r--r-- | src/list/generator/make_list.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/list/generator/make_list.h b/src/list/generator/make_list.h index 33419cb..d927905 100644 --- a/src/list/generator/make_list.h +++ b/src/list/generator/make_list.h @@ -11,18 +11,18 @@ template < typename Element > struct MakeList { - typedef typename Cons< + typedef Eval<Cons< Element, - typename MakeList< + Eval<MakeList< Substract<Count, Size<1>>, Element - >::type - >::type type; + >> + >> type; }; template <typename Element> struct MakeList<Size<1>, Element> { - typedef typename Cons<Element, void>::type type; + typedef Eval<Cons<Element, void>> type; }; } |