DMD 2.000 alpha release

Sean Kelly sean at f4.ca
Mon Jun 18 07:55:44 PDT 2007


Walter Bright wrote:
> This is an alpha release to try out the const/final/invariant stuff.
> 
> The current definition of string is:
> 
>     alias const(char)[] string;
> 
> Andrei has argued strongly to make it invariant. I think he's probably 
> right, and that change might happen next.

Out of curiosity, is this at all meaningful?

void fn( inout string val ) {}


Sean



More information about the Digitalmars-d-announce mailing list