Opened 8 years ago

Closed 8 years ago

#3364 closed Bugs (fixed)

terminals are constant after passing through proto::flatten and fusion::fold

Reported by: maurizio.vitale@… Owned by: Eric Niebler
Milestone: Boost 1.40.0 Component: proto
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:


I'm forced to use the code in the section marked with #if BUG while I would expect to be able to use the version in the #else branch of the same conditional. Terminals are non-const, hence the casting const away in assignments shouldn't be needed.

Attachments (1)

testcase.cpp (1.9 KB) - added by maurizio.vitale@… 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by maurizio.vitale@…

Attachment: testcase.cpp added

comment:1 Changed 8 years ago by Eric Niebler

Resolution: fixed
Status: newclosed

(In [57234]) fix const correctness issues with proto::flatten and friends, fixes #3364

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Eric Niebler.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.