
12 Nov
2005
12 Nov
'05
5 a.m.
Hi, I tried to bind to a class member function template, but can't pass compile, what's the correct syntax or this is impossible? class A { public: void test() { function<void()> func; func = boost::bind( &A::ttt<int>, this ); } template<typename T> T ttt() { return 1; } }; int _tmain(int argc, _TCHAR* argv[]) { return 0; } Thanks, Wang Yun