Opened 13 years ago

Closed 13 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@… 13 years ago.

Download all attachments as: .zip

Change History (2)

by maurizio.vitale@…, 13 years ago

Attachment: testcase.cpp added

comment:1 by Eric Niebler, 13 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.