Subject: [Boost-bugs] [Boost C++ Libraries] #1623: fusion needs a reverse_fold algorithm
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-07 01:57:48
#1623: fusion needs a reverse_fold algorithm
-------------------------------------+--------------------------------------
Reporter: eric_niebler | Owner: djowel
Type: Feature Requests | Status: new
Milestone: Boost 1.36.0 | Component: fusion
Version: Boost Development Trunk | Severity: Optimization
Keywords: |
-------------------------------------+--------------------------------------
I can fold a reverse_view, but that's a little awkward, and TMP-heavy.
That is, it instantiates more templates than are needed. Would be nice if
Fusion had a reverse_fold algorithm, like MPL.
This is needed for Proto, which has a reverse_fold transform based in part
on fusion::fold and reverse_view. I've had to introduce ugly PP
metaprogramming to avoid calling fusion::fold because of the long compile
times.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1623>
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:49:57 UTC