Current version of D.

TommiT tommitissari at hotmail.com
Sat Jul 6 02:44:43 PDT 2013


On Saturday, 6 July 2013 at 08:14:06 UTC, Jonathan M Davis wrote:
> Ah, there's also auto ref. The way TDPL describes it, it should 
> work on the
> parameters of non-templated functions as well as templated 
> ones, but it has
> yet to be implemented that way. And there's some debate as to 
> what to do about
> that.

TDPL doesn't mention auto ref at all (not even as a function 
return type). The spec talks about auto ref as both function 
return type and parameter type for function templates. So, it 
seems auto ref as parameter for regular functions doesn't seem to 
documented anywhere (which is good if it's not ready yet).


More information about the Digitalmars-d mailing list