Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7311: boost::result_of can't eval C++2011 lambda 's return type, should use C++2011 std::result_of
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-25 14:18:48
#7311: boost::result_of can't eval C++2011 lambda 's return type,should use
C++2011 std::result_of
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: no-maintainer
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: result_of
Version: Boost 1.51.0 | Severity: Problem
Resolution: worksforme | Keywords:
-------------------------------+--------------------------------------------
Changes (by michel):
* status: new => closed
* resolution: => worksforme
* component: utility => result_of
Comment:
You can use decltype-based `result_of` by defining
`BOOST_RESULT_OF_USE_DECLTYPE`.
Please see the
[[http://www.boost.org/doc/libs/1_51_0/libs/utility/utility.htm#result_of|documentation]].
Also note that, in the future release (i.e. Boost 1.52), decltype-based
`result_of` will be automatically enabled on highly C++11-compliant
compilers. Currently, clang-3.1 (in a C++11 mode) is the only such
compiler.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7311#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC