As others have stated, your surmise is correct.

On a related note, I recently wrote a very simple cstring struct that
acts like const(char)[] does in D2.  I was using unique interned
strings, and didn't want any surprises.  You can still get a mutable
reference to the string by using .toString, but the struct is really
only there to prevent accidental modifications.

  -- Daniel

Reply via email to