
5 Mar
2007
5 Mar
'07
2:04 a.m.
Hi, CVS HEAD can't compile this under maybe any conforming compiler. (RC_1_34 is ok.) #include <boost/utility/result_of.hpp> int my_fun(int) { return 0; } template< class F > void test(F ) { typedef typename boost::result_of<F()>::type result_t; // shall be 'void'. } int main() { ::test(&my_fun); } Specializations are not enough? Regards, -- Shunsuke Sogame