Re: [Boost-bugs] [Boost C++ Libraries] #4582: fold() doesn't work with function objects that don't support perfect forwarding

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4582: fold() doesn't work with function objects that don't support perfect forwarding
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-22 12:32:28


#4582: fold() doesn't work with function objects that don't support perfect
forwarding
--------------------------------------+-------------------------------------
  Reporter: anonymous | Owner: cschmidt
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: fusion
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by cschmidt):

 The functor should be able to modifiy the state. I think moving the passed
 state to the new one is a quite common usecase.

 I will commit your patch (with non-const states) asap.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4582#comment:4>
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