What about: struct String { string items; alias items this; }
And add the needed functions you wish to have in string and it will still work in existing functions that operate on immutable(char)[]
What about: struct String { string items; alias items this; }
And add the needed functions you wish to have in string and it will still work in existing functions that operate on immutable(char)[]