DMD 1.011 release

Walter Bright newshound1 at digitalmars.com
Wed Apr 11 16:39:18 PDT 2007


Serg Kovrov wrote:
> Walter Bright wrote:
>> Because there are uses for reference variables other than function 
>> parameters. Those look definitely odd being marked as 'inout'.
> 
> And examples of such other uses are... ?
> 
> to have something like:
>   auto bar = ref foo;
> or
>   ref bar = foo;
> instead of:
>   auto bar = &foo;
> 
> Is it that what you mean?

Yes.



More information about the Digitalmars-d-announce mailing list