Re: [Boost-bugs] [Boost C++ Libraries] #8775: fusion transform and fold not respecting const-ness of the sequence

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8775: fusion transform and fold not respecting const-ness of the sequence
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-07 23:44:29


#8775: fusion transform and fold not respecting const-ness of the sequence
--------------------------------------+---------------------
  Reporter: eric_niebler | Owner: djowel
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: fusion
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------

Comment (by djowel):

 Originally, Fusion algorithms are pure FP style const non mutating. Why?
 because they are held by reference and when you concat/build compound
 algos, my thinking was that it would be weird to have some of the algos
 mutate the sequence. Slowly, non const versions crept in. People kept on
 asking. I guess it's time to break free from the design and have all
 fusion algos take const and non-const sequences.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8775#comment:6>
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:13 UTC