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:19:58
#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 djowel):
That is by design. A transform_view is lazily evaluated. You'd want to
assign back to the original container if you want it mutated. The effect
and performance is the same.
Do you have some code? I can probably recommend a way to do what you want.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3446#comment:1> 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