Re: [Boost-bugs] [Boost C++ Libraries] #4832: C++0x lambdas do not work as argument to Boost::Range's transformed adaptor

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4832: C++0x lambdas do not work as argument to Boost::Range's transformed adaptor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-20 06:58:39


#4832: C++0x lambdas do not work as argument to Boost::Range's transformed adaptor
-----------------------------------------------------------+----------------
  Reporter: Alexander Bessonov <alexbav@…> | Owner: dgregor
      Type: Feature Requests | Status: closed
 Milestone: To Be Determined | Component: utility
   Version: Boost Development Trunk | Severity: Problem
Resolution: worksforme | Keywords: c++0x lambda transformed boost::range
-----------------------------------------------------------+----------------
Changes (by Michel MORIN <mimomorin@…>):

  * status: new => closed
  * resolution: => worksforme

Comment:

 With `BOOST_RESULT_OF_USE_DECLTYPE`, `boost::result_of` and C++0x lambdas
 work fine.
 Please see the documentation for usage of `BOOST_RESULT_OF_USE_DECLTYPE`:
 http://www.boost.org/doc/libs/1_47_0/libs/utility/utility.htm#result_of

 (On Visual Studio 2010, using `BOOST_RESULT_OF_USE_DECLTYPE` works fine
 with Boost 1.47 and trunk. But it might not work with older versions of
 Boost,
 since `BOOST_NO_DECLTYPE` is defined for that compiler. )

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4832#comment:5>
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:07 UTC