Persistent list

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 15 11:51:09 PST 2015


On 11/15/2015 02:47 PM, Dicebot wrote:
> On Sunday, 15 November 2015 at 19:44:27 UTC, Timon Gehr wrote:
>> On 11/15/2015 06:38 PM, Andrei Alexandrescu wrote:
>>> On 11/15/2015 10:09 AM, Jonathan M Davis wrote:
>>>> const in D guarantees that the object will not be mutated via that
>>>> reference regardless of what that reference refers to.
>>>
>>> We need to change that if we want things like composable containers that
>>> work with const. And I think it's a good thing to want. -- Andrei
>>
>> I don't think so.
>
> I support this statement.

Just to clarify - is that referring to the part "We need to change that 
if we want things like composable containers that work with const." or 
to the "I think it's a good thing to want" part? -- Andrei



More information about the Digitalmars-d mailing list