Modify

Opened 10 years ago

Closed 9 years ago

#1572 closed Bugs (fixed)

[lambda] smart pointer const-ness affects its contents

Reported by: Shunsuke Sogame <pstade.mb@…> 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)

bll_deref.cpp (1.0 KB) - added by Shunsuke Sogame <pstade.mb@…> 10 years ago.
failed example.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Shunsuke Sogame <pstade.mb@…>

Attachment: bll_deref.cpp added

failed example.

comment:1 Changed 10 years ago by Marshall Clow

Component: Nonelambda
Owner: set to No-Maintainer

comment:2 Changed 9 years ago by Steven Watanabe

Resolution: fixed
Status: newclosed

(In [53651]) Don't propagate constness from pointer to pointee. Fixes #1572

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain No-Maintainer.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.