DMD 1.011 release

Serg Kovrov kovrov at no.spam
Wed Apr 11 15:22:21 PDT 2007


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?

-- 
serg.



More information about the Digitalmars-d-announce mailing list