On Sunday, 29 December 2013 at 14:24:05 UTC, bearophile wrote:
Ali Çehreli:On 12/29/2013 04:00 AM, Mike:Do you happen to know of any clever technique to make object, andeverything that inherits from it, a referenced counted object?There is std.typecons.RefCounted: http://dlang.org/phobos/std_typecons.html#.RefCountedI think it only works on a single object, not on the whole tree. (And I think RefCounted is not used often in D.) Bye, bearophile
Yep, and it's a struct, so no inheritance.
