DMD 1.011 release

Charlie charlie.fats at gmail.com
Wed Apr 11 16:10:41 PDT 2007


Serg Kovrov wrote:
> freeagle wrote:
>> what was wrong with "inout" ?
> 
> Nothing. I hope 'inout' will stay "read-write reference" (&), and 'ref' 
> will become "read-only reference" (const &). Although 'in' seems better 
> name for it... But well, we'll see.
> 


I second this , having one word to mean 'constant reference' would be 
far preferable to a 'const' qualifier, and leave inout to mean what its 
always meant.

Charlie




More information about the Digitalmars-d-announce mailing list