From f2cc7265b6898b17f72f00ef5c70d6a5af4cf372 Mon Sep 17 00:00:00 2001 From: ado Date: Wed, 6 Jan 2021 19:41:39 +0100 Subject: [PATCH] undo removal of right_of_impl --- include/ss/type_traits.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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;