
1 Aug
2006
1 Aug
'06
11:29 p.m.
Hi all, I understand why boost::bind() must return a const-reference or a value, but what I don't understand is, why must I do boost::bind<R&>(...) if I want it to return by reference? Why must I (the user) deduce the return type myself? Can't we have a boost::bind_return_reference(...) function that is the equivalent of boost::bind<R&>(...), so I don't have to do all the hard result_of type deduction manually? cheers Paul