[Boost-bugs] [Boost C++ Libraries] #12546: Using lambda in transformed or filtered adaptors result in non assignable iterator

Subject: [Boost-bugs] [Boost C++ Libraries] #12546: Using lambda in transformed or filtered adaptors result in non assignable iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-10-24 15:04:54


#12546: Using lambda in transformed or filtered adaptors result in non assignable
iterator
-------------------------------------------------+-------------------------
 Reporter: Jean-Philippe DUFRAIGNE | Owner: neilgroves
  <j.dufraigne@…> | Status: new
     Type: Bugs | Component: range
Milestone: To Be Determined | Severity: Problem
  Version: Boost 1.61.0 |
 Keywords: |
-------------------------------------------------+-------------------------
 Hi,

 boost::range::adaptor is a great fit for lambda, but since they have their
 assignment operator (as well as default constructor) deleted, transform
 iterator and filter iterator cannot be re-assigned which can make it more
 difficult to work with.

 transformed and filtered adaptors booth work around the non default
 constructible, would it make sense to handle the non assignable case as
 well?

 This pull request describe the problem through test, and a potential fix.
 https://github.com/boostorg/range/pull/46

 Kind regards,
 Jean-Philippe.

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