Boost logo

Boost :

Subject: Re: [boost] [result_of] Make `cpp0x_result_of_impl` public
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-03-27 21:13:56


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
    https://svn.boost.org/trac/boost/ticket/6728
I made this post.

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
    http://lists.boost.org/boost-users/2012/01/72879.php

Regards,
Michel


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