DIP74 - where is at?

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Sat Oct 10 22:57:54 PDT 2015


On Sunday, 11 October 2015 at 05:52:45 UTC, Freddy wrote:
> On Saturday, 10 October 2015 at 23:25:49 UTC, Manu wrote:
>> [...]
>
> Speaking of DIP74 can't we just wrap a class in a struct with 
> use reference counting with and use alias this?

You can. It is not safe, but it will do. Using type qualifier, 
one can get better than C++'s shared_ptr already.



More information about the Digitalmars-d mailing list