Persistent list

Jakob Ovrum via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 13 16:28:11 PST 2015


On Friday, 13 November 2015 at 23:10:04 UTC, Andrei Alexandrescu 
wrote:
> * Lines 11-12: I came to terms with the notion that some types 
> cannot be made immutable. We've been trying to do reference 
> counting on immutable objects for a long time. It's time to 
> acknowledge that true immutability (which the immutable keyword 
> models) and reference counting don't mix.

External reference counting should work fine with immutable, i.e. 
RefCounted!(immutable T).



More information about the Digitalmars-d mailing list