Subject: Re: [boost] [result_of] Make `cpp0x_result_of_impl` public
From: Daniel Walker (daniel.j.walker_at_[hidden])
Date: 2012-03-28 18:51:49
On Mar 27, 2012, at 9:13 PM, Michel Morin wrote:
> Hi Daniel,
> Daniel Walker wrote:
>> Michel, do you just want a C++11 result_of that works out-of-the-box or
>> do you really need a separate interface in addition to boost::result_of?
> The former; there are some complaints that boost::result_of cannot
> deal with C++11 lambdas (without BOOST_RESULT_OF_USE_DECLTYPE).
> As a response to the discussions in #6728
> I made this post.
OK, yeah, life will be much better when result_of uses decltype by default.
> But personally, I think using `tr1_functor` and `make_tr1_functor`
> (which wraps non-tr1 functors into tr1 functors using decltype)
> is a better idea than the approach with `cxx11_result_of`.
> The code for`tr1_functor` and `make_tr1_functor` is attached at
That's a good idea. I like that.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk