diff options
Diffstat (limited to 'src/list/operation/take.h')
-rw-r--r-- | src/list/operation/take.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/list/operation/take.h b/src/list/operation/take.h index c396c28..fdff123 100644 --- a/src/list/operation/take.h +++ b/src/list/operation/take.h @@ -10,13 +10,13 @@ template < typename Current > struct Take { - typedef typename Cons< + typedef Eval<Cons< Head<Current>, - typename Take< + Eval<Take< Substract<Count, Size<1>>, Tail<Current> - >::type - >::type type; + >> + >> type; }; template <typename Current> |