Escaping the Tyranny of the GC: std.rcstring, first blood

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 15 11:30:26 PDT 2014


On Monday, 15 September 2014 at 03:52:34 UTC, Andrei Alexandrescu 
wrote:
> We're thinking of a number of schemes for reference counted 
> objects, and we think a bottom-up approach to design would work 
> well here: try a simple design and assess its limitations. In 
> this case, it would be great if you tried to use RefCounted 
> with your class objects and figure out what its limitations are.

RefCounted currently does not work at all with class objects. 
This is explicitly indicated in RefCounted's template constraint.

Are you saying we should try to make RefCounted work with classes 
or something else?


More information about the Digitalmars-d mailing list