Modify

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:

Description

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@…

comment:1 Changed 8 years ago by eric_niebler

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

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

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.