Re: [Boost-bugs] [Boost C++ Libraries] #4189: Add better support for non-default constructible function objects

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4189: Add better support for non-default constructible function objects
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-22 12:06:40


#4189: Add better support for non-default constructible function objects
-------------------------------+--------------------------------------------
  Reporter: djwalker | Owner: dave
      Type: Feature Requests | Status: new
 Milestone: Boost 1.43.0 | Component: iterator
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords: transform_iterator
-------------------------------+--------------------------------------------

Comment (by sdebionne):

 This patch solves the problem mentionned here :

 http://boost.2283326.n4.nabble.com/Bind-Interoperability-of-bind-mem-fn-
 with-transform-iterator-td2668312.html

 I have been using it for more than a year. Could you considerer merging it
 to trunk ?

 the problem is even more acute with Boost.Range adaptors since something
 as simple as

 {{{
 using namespace boost::range::adaptors;
 boost::for_each(my_range | transformed(boost::mem_fn(foo)), bar);
 }}}

 won't compile.

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