Modify

Ticket #3364 (closed Bugs: fixed)

Opened 5 years ago

Last modified 4 years ago

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

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

Change History

Changed 5 years ago by maurizio.vitale@…

comment:1 Changed 4 years ago by eric_niebler

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

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
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.