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: | 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)
Change History (2)
by , 13 years ago
| Attachment: | testcase.cpp added | 
|---|
comment:1 by , 13 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [57234]) fix const correctness issues with proto::flatten and friends, fixes #3364