diff options
Diffstat (limited to 'src/list/operation/drop.h')
-rw-r--r-- | src/list/operation/drop.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/list/operation/drop.h b/src/list/operation/drop.h index c61983b..c7745d7 100644 --- a/src/list/operation/drop.h +++ b/src/list/operation/drop.h @@ -5,6 +5,8 @@ namespace tav { +namespace detail { + template < typename Count, typename Current @@ -31,6 +33,13 @@ struct Drop<Size<0>, void> { typedef void type; }; +} + +template < + typename Count, + typename Current +> +using Drop = Eval<detail::Drop<Count, Current>>; } |