DIP74: Reference Counted Class Objects

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 26 17:59:07 PST 2015


On Thu, Feb 26, 2015 at 05:44:36PM -0800, Andrei Alexandrescu via Digitalmars-d wrote:
[...]
> An interesting option to explore in the future would be rigging
> druntime to add opAddRef and opRelease to Object.
[...]

How would that work? Doesn't that immediately subject *all* classes to
the restrictions set forth in DIP74?


T

-- 
Gone Chopin. Bach in a minuet.


More information about the Digitalmars-d mailing list