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

Subject: [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: 2010-11-10 11:21:24


#4832: C++0x lambdas do not work as argument to Boost::Range's transformed adaptor
----------------------------------------------------------+-----------------
 Reporter: Alexander Bessonov <alexbav@…> | Owner: neilgroves
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: c++0x lambda transformed boost::range |
----------------------------------------------------------+-----------------
 You cannot use lambda functions as parameters to transformed adaptor. At
 least on Visual Studio 2010.

 This is due to native inability to take a result_of the lambda function.

 A simple workaround for Visual Studio 2010 is offered (see attached patch
 for trunk 66478). If it is applied and checked to work on other compilers,
 please update.

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