Opened 11 years ago

Closed 8 years ago

#1623 closed Feature Requests (fixed)

fusion needs a reverse_fold algorithm

Reported by: Eric Niebler Owned by: Christopher Schmidt
Milestone: Boost 1.44.0 Component: fusion
Version: Boost Development Trunk Severity: Optimization
Keywords: Cc:


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.

Change History (2)

comment:1 Changed 9 years ago by Christopher Schmidt

Milestone: Boost 1.36.0Boost 1.44.0
Owner: changed from Joel de Guzman to Christopher Schmidt
Status: newassigned

comment:2 Changed 8 years ago by Christopher Schmidt

Resolution: fixed
Status: assignedclosed

Fixed in [63066] and [63083]

Note: See TracTickets for help on using tickets.