Ticket #3364 (closed Bugs: fixed)

Opened 8 years ago

Last modified 8 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:


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.


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

Change History

Changed 8 years ago by maurizio.vitale@…

comment:1 Changed 8 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


Add a comment

Modify Ticket

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