
20 Mar
2007
20 Mar
'07
5:21 p.m.
Daniel Walker wrote:
Still, for compilers that Boost.Typeof doesn't support, it would be nice if result_of could handle Boost.Lambda at least. More recent libraries and future libraries could consider adopting a previously existing practice (result<F(Args) or sig<tuple<Args> >) that result_of can support without typeof.
IMO, you have this backwards. Rather than patch result_of to handle lambda, lambda function objects should be modified to follow the result_of convention. It's now standard, after all. -- Eric Niebler Boost Consulting www.boost-consulting.com