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:38:45
#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 anonymous):
that makes sense, but there is no fusion::fold documented that takes a
non-const reference to the initial state.
so passing a functor to fold() that requires a non-const reference to the
state in order to move it would fail. the initial call to f passes a const
state.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4582#comment:5> 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