prog.cpp:4:9: error: expected unqualified-id before 'template'
static template<class Head, class... Tail>
^
prog.cpp:15:9: error: expected unqualified-id before 'template'
static template<class Head>
^
prog.cpp: In function 'int main()':
prog.cpp:24:2: error: 'prototype' is not a member of 'generator<10>'
generator<10>::prototype(1,1,1,1,1, 1,1,1,1,1);
^
prog.cpp:25:11: error: 'prototype' is not a member of 'generator<3>'
auto a = generator<3>::prototype;
^