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 06:56:08


#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@…>):

 Re copy: Sounds good, although I'd have to familiarize myself with the
 boost quickbook (?) documentation creator thingy. Any helpful
 suggestions?

 The problem your suggestion is it's backwards from what I want:

 copy(transform(src, project()), dest) <=> dest[i] = src[i].member_var

 whereas I'm aiming toward

 copy(src, transform(dest, project())) <=> dest[i].member_var = src[i]

 - Jeff

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