Quote:Original post by AAAP
can T be in the form of a whole function prototype such as the return type and parameters? sorry for the newb questions, but this whole topic seems a little over my head at the moment.
With VC6, no, with better compiler, yes:
boost::function<int (double, std::string)> func;
or (VC6)
boost::function2<int, double, std::string> func;