Opened 15 years ago
Closed 13 years ago
#1572 closed Bugs (fixed)
[lambda] smart pointer const-ness affects its contents
Reported by: | Owned by: | No-Maintainer | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | lambda |
Version: | Boost 1.34.1 | Severity: | Problem |
Keywords: | lambda | Cc: |
Description
A dereference of const smart pointers/iterators is not "writable".
e.g., (*bll::_1)(x) = y;
doesn't compile.
This seems a defect, IMO.
See also attached file.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | bll_deref.cpp added |
---|
comment:1 by , 15 years ago
Component: | None → lambda |
---|---|
Owner: | set to |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
failed example.