DIP69 - Implement scope for escape proof references

Basile Burg via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 4 15:58:24 PST 2014


>> Hmmm, looks like a problem I didn't think of. darnit!
>
> Turns out, 'ref' has exactly the same issue. The resolution is 
> the same:
>
>   alias ref int delegate() dg_t; // ref applies to return type

Was the goal of the post to represent the new alias syntax ?
If so, big fail, Walter,...




More information about the Digitalmars-d mailing list