
10 Apr
2008
10 Apr
'08
1:31 a.m.
Eric Niebler wrote:
Ditto that tr1_function. Am I right?
I don't think you are right, at least not for C++03. There is no decltype, so there can be no inconsistency with it. :-) Do you still think that the tr1_function wrapper I sent around is wrong, and if so, why?
tr1_function seems to require some convertibilty. E.g. result_of<F(int const &)>::type has to be convertible to result_of<F(int)>::type. Regards, -- Shunsuke Sogame