DIP74 - where is at?

Manu via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 11 00:02:44 PDT 2015


On 11 October 2015 at 16:06, Freddy via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On Sunday, 11 October 2015 at 05:52:45 UTC, Freddy wrote:
>>
>> Speaking of DIP74 can't we just wrap a class in a struct with use
>> reference counting with and use alias this?
>
>
> Also how will DIP74 work with incremental compilation?
> ---
> extern (D) class RcClass;
>
> void func(RcClass a)
> {
>     //opps
>     auto b = a;
>     return;
> }
> ---

extern (D) class RcClass
{
  void opInc();
  void opDec(); // or whatever they're called
}

?


More information about the Digitalmars-d mailing list