An Issue I Wish To Raise Awareness On

Dukc via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 19 09:45:28 PDT 2017


On Wednesday, 19 July 2017 at 15:38:08 UTC, Jack Stouffer wrote:
> Unless you're saying that the above should work even though it 
> currently doesn't. Even then, I don't know about that. If your 
> type is complex enough to need a shared dtor then the dtor 
> probably needs to do some locking or extra checks. You don't 
> want to impose that cost on a struct instance which isn't 
> shared.

Yes, just what I meant. And perfectly explained why we need 
something better.


More information about the Digitalmars-d mailing list