From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-01-25 11:36:52
I have one question about 'result_of':
// typename boost::result_of<F(A&)>::type // (1)
typename boost::result_of<F const(A&)>::type // (2)
operator()(A& a) const
explicit forward(F f) : m_f(f)
(1) or (2).. which is right?
In fact, (2) fails to compile if 'F' is a function pointer type;
because const function-pointer specialization is missing.
-- Shunsuke Sogame
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk