Persistent list

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 15 11:47:54 PST 2015


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.


More information about the Digitalmars-d mailing list