Hello Gents,
    Given this case:
*****
// primary template 
template<void(*)(int)>
struct A;

// specialization 
template<typename T, typename V
    ,template<typename, typename> F
    ,void (*(F<T,V>)(int)>
struct A<F> { };
******
Why this specialization doesn't compile?
And how to extract the template params of a function template, let say

template<typename T, typename V>
void foo(int) {};

In a templated struct that accepts function pointers, let say

template<void(*)(int)>
struct A { // impl };

Regards 
Nadir



Sent from my Galaxy