|
Boost : |
From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-03-04 21:04:28
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk