DIP74: Reference Counted Class Objects

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 4 13:14:14 PST 2015


On 3/4/15 12:04 PM, bitwise wrote:
> I suppose you could add "getWeak()" and "releaseWeak()" to a ref counted
> class

My initial attempt would be to see if opAddRef and opRelease defined by 
a distinct weak pointer type would work. -- Andrei


More information about the Digitalmars-d mailing list