Error C2975 in a template function implementation
问题 I've asked a similar question already but did not provide enough details. So I'm trying to re-phrase it with a better code sample. So here it is. First off I'm using Visual Studio 2008 C++ compiler and I'm trying to implement a template to call a member method of a class. The template is declared as such: typedef void (*ON_CALL)(HWND); template <typename CLASS, ON_CALL F> class CMyTemplate { public: static void onProcess(CLASS* pDlg) { pDlg->SetTimer(100, 1, _onTimer); } private: static void