If this is possible, one can index into a variadic template parameter pack without recursion. However, GCC is refusing to pick up my partial specialization here:
<
The spec says at 14.8.2.5p9
If P has a form that contains
or
, then each argument
Pi
of the respective template argument listP
is compared with the corresponding argumentAi
of the corresponding template argument list ofA
. If the template argument list ofP
contains a pack expansion that is not the last template argument, the entire template argument list is a non-deduced context.
Your typelist
unfortunately matches that pattern.