How to create a mutable array of strings?
Dennis Ritchie via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun May 17 02:15:47 PDT 2015
This option is also a strange:
char[][] s = ["foo".dup, "bar".dup];
s[1][1] = 't';
In my opinion, you need to add to D keyword mutable.
More information about the Digitalmars-d-learn
mailing list