--Hello Gents,Given this case:*****// primary templatetemplate<void(*)(int)>struct A;// specializationtemplate<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 saytemplate<typename T, typename V>void foo(int) {};In a templated struct that accepts function pointers, let saytemplate<void(*)(int)>struct A { // impl };RegardsNadirSent from my Galaxy
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals