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-21 18:13:34
#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'm not sure I understand your question, but here's an attempt at an
answer ;)
If you have a function, e.g., that takes any Boost.Fusion conforming
sequence as a parameter, and whose return type or intermediate types must
be deduced from the types in the sequence, it is often convenient to use
the Boost.MPL metafunctions on this type sequence. However, although all
the containers in the Boost.Fusion library are (conveniently, via an
include) conforming MPL sequences, a Boost.Fusion conforming sequence is
not generally required to be a Boost.MPL conforming sequence (think
boost::array), so the use of Boost.MPL metafunctions on the type sequence
generally requires a conversion to a Boost.MPL vector (or other Boost.MPL
sequence).
Thanks for the code reference. I still need to find some downtime to add
these proposals to the current Boost.Fusion version :/
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3446#comment:13> 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