diff options
Diffstat (limited to 'src/list/generator')
-rw-r--r-- | src/list/generator/higher/list_tabulate.h | 2 | ||||
-rw-r--r-- | src/list/generator/iota.h | 10 | ||||
-rw-r--r-- | src/list/generator/make_list.h | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/list/generator/higher/list_tabulate.h b/src/list/generator/higher/list_tabulate.h index dd2914a..856ed11 100644 --- a/src/list/generator/higher/list_tabulate.h +++ b/src/list/generator/higher/list_tabulate.h @@ -12,7 +12,7 @@ template < > using ListTabulate = Map< Initializer, - typename Iota<Count, Size<0>, Size<1>>::type + Eval<Iota<Count, Size<0>, Size<1>>> >; } diff --git a/src/list/generator/iota.h b/src/list/generator/iota.h index 2d5b506..56ebeca 100644 --- a/src/list/generator/iota.h +++ b/src/list/generator/iota.h @@ -11,14 +11,14 @@ template < typename Step > struct Iota { - typedef typename Cons< + typedef Eval<Cons< Initial, - typename Iota< + Eval<Iota< Substract<Count, Size<1>>, Add<Initial, Step>, Step - >::type - >::type type; + >> + >> type; }; template < @@ -26,7 +26,7 @@ template < typename Step > struct Iota<Size<1>, Initial, Step> { - typedef typename Cons<Initial, void>::type type; + typedef Eval<Cons<Initial, void>> type; }; } 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; }; } |