auto ref is on the docket

ixid via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 2 15:48:12 PDT 2015


On Monday, 22 June 2015 at 04:11:41 UTC, 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

A question from a place of ignorance- from the thread people say 
normal function and template function auto ref have different 
rules. This seems like a really bad idea. Is this necessary and 
why should this be acceptable? We should surely have normal 
functions be a simple subset of templates.


More information about the Digitalmars-d mailing list