Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2008-04-09 21:31:52


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk