Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

VC++ error C2440 with combined use of non-type template parameters

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.48 sec, absolute service time: 1.12 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp(4) : error C2440: 'specialization' : cannot convert from 'void (__cdecl *)(void)' to 'void (__cdecl *)(void)'
        None of the functions with this name in scope match the target type
        source_file.cpp(4) : see reference to class template instantiation 'ss<I>' being compiled