DMD 1.004 release

Jeff Nowakowski jeff at dilacero.org
Sat Jan 27 17:49:47 PST 2007


Walter Bright wrote:
> What's happening is you're writing into the string literal, which is not 
> allowed. String literals should be regarded as readonly.

So is there a reasonable way for D to enforce this?  I haven't been 
following the recent const discussion in detail.  Would it help here and 
actually be applied to literal strings in a future D?

-Jeff



More information about the Digitalmars-d-announce mailing list