diff --git a/include/ss/type_traits.hpp b/include/ss/type_traits.hpp index 75683e6..0653696 100644 --- a/include/ss/type_traits.hpp +++ b/include/ss/type_traits.hpp @@ -57,6 +57,14 @@ using head_t = typename left_of_impl<0, Ts...>::type; // tup tail/last //////////////// +template +struct right_of_impl; + +template +struct right_of_impl { + using type = typename right_of_impl::type; +}; + template struct right_of_impl<0, T, Ts...> { using type = std::tuple;