Re: [Boost-bugs] [Boost C++ Libraries] #9631: function_input_iterator does not work with lambda

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9631: function_input_iterator does not work with lambda
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-05 11:09:13


#9631: function_input_iterator does not work with lambda
--------------------------------------+---------------------
  Reporter: Piotr Wygocki <wygos@…> | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------

Comment (by Piotr Wygocki <wygos@…>):

 The code was suppressed to one line. I paste it one more time.

 #define BOOST_RESULT_OF_USE_DECLTYPE

 #include <boost/iterator/function_input_iterator.hpp>

 int main() {

 auto f = [](){return 1;};

 auto i = boost::make_function_input_iterator(f, 0);

 return 0;

 }

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