mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 13:05:20 +01:00
undo removal of right_of_impl
This commit is contained in:
parent
7ea33c80e2
commit
f2cc7265b6
@ -57,6 +57,14 @@ using head_t = typename left_of_impl<0, Ts...>::type;
|
||||
// tup tail/last
|
||||
////////////////
|
||||
|
||||
template <size_t N, typename T, typename... Ts>
|
||||
struct right_of_impl;
|
||||
|
||||
template <size_t N, typename T, typename... Ts>
|
||||
struct right_of_impl {
|
||||
using type = typename right_of_impl<N - 1, Ts...>::type;
|
||||
};
|
||||
|
||||
template <typename T, typename... Ts>
|
||||
struct right_of_impl<0, T, Ts...> {
|
||||
using type = std::tuple<T, Ts...>;
|
||||
|
Loading…
Reference in New Issue
Block a user