how would D be different if string were const(char)[]?
Dicebot
public at dicebot.lv
Thu Oct 17 09:50:25 PDT 2013
Well, yeah. it is memory safe but you can't slice a string and be
sure its value won't change silently - comparable semantical
safety disaster IMHO.
More information about the Digitalmars-d-learn
mailing list