Is it possible to write a variadic template class with functions as template parameter ?
Theses are valid c++ declarations
template <typename ...Types> class foo;
template <int func(int)> class bar;
Would it be possible to do something like
template <int func(int)...> class foobar;
I tried a lot of different syntax like
template <int ...func(int)> class foobar;
and nothing is compiling (I am using gcc 8.1.0 with -std=c++17)