1 Feb
2007
1 Feb
'07
1:59 p.m.
//my question is how to write the type ??? below to make it run . #include <boost/bind.hpp> #include <iostream> using boost::bind; void print() { std::cout <<" print" << std::endl; } template <class T> void func(T t) { std::cout <<"func1(T t) : " ; t(); } int main() { func(bind(&print)); //ok bind ( &func<???>, bind(&print) ) ; //don't know how to write it }