Re: [Boost-bugs] [Boost C++ Libraries] #3446: [boost] [fusion] transform does not return a mutable view

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3446: [boost] [fusion] transform does not return a mutable view
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-14 05:37:53


#3446: [boost] [fusion] transform does not return a mutable view
--------------------------------+-------------------------------------------
 Reporter: jhellrung@… | Owner: djowel
     Type: Feature Requests | Status: new
Milestone: Boost 1.41.0 | Component: fusion
  Version: Boost 1.40.0 | Severity: Optimization
 Keywords: |
--------------------------------+-------------------------------------------

Comment(by Jeffrey Hellrung <jhellrung@…>):

 I was trying to do something along the lines of

 copy(source, transform(dest, project())

 where source and dest are Boost.Fusion conforming sequences (but not
 necessarily the data structures from the Boost.Fusion library); copy is a
 function I wrote that operates on Boost.Fusion sequences (with the
 expected semantics; I couldn't find something in Boost.Fusion that would
 accomplish the same thing); and project is a function object returning a
 reference to a particular member variable of each element of dest.

 What do you think?

 Thanks,

 - Jeff

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3446#comment:2>
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:01 UTC