Update an example on the website

Walter Bright newshound1 at digitalmars.com
Sat Mar 27 13:57:42 PDT 2010


biozic wrote:
> In http://www.digitalmars.com/d/2.0/declaration.html#AutoDeclaration, 
> shouldn't the code:
>     auto s = "string"; // s is type immutable(char)[6]
> be updated to:
>     auto s = "string"; // s is type immutable(char)[]
> ?

Yes, good catch!



More information about the Digitalmars-d mailing list