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
Andrei Alexandrescu via Digitalmars-d Wed, 04 Mar 2015 13:17:34 -0800
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