Opened 9 years ago

Closed 7 years ago

#1623 closed Feature Requests (fixed)

fusion needs a reverse_fold algorithm

Reported by: eric_niebler Owned by: cschmidt
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.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by cschmidt

  • Milestone changed from Boost 1.36.0 to Boost 1.44.0
  • Owner changed from djowel to cschmidt
  • Status changed from new to assigned

comment:2 Changed 7 years ago by cschmidt

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [63066] and [63083]

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain cschmidt.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.