On 11 October 2015 at 16:06, Freddy via Digitalmars-d
<[email protected]> 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
}
?