auto ref is on the docket

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 22 15:06:32 PDT 2015


On 06/22/2015 06:11 AM, Andrei Alexandrescu wrote:
> Walter and I discussed what auto ref for templates should look like and
> reached the conclusion that an approach based on lowering would be best.
> I added a proposed lowering to
> https://github.com/D-Programming-Language/dmd/pull/4717.
>
> Andrei

"@WalterBright auto ref for templates and non-templates do different 
things by necessity. ..."

The proposed lowering also works for template functions.

"... This is not an issue."

Yes it is. Walter is right.


More information about the Digitalmars-d mailing list