Opened 15 years ago

Closed 12 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:

Description

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 by Christopher Schmidt, 12 years ago

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

comment:2 by Christopher Schmidt, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [63066] and [63083]

Note: See TracTickets for help on using tickets.