Make string literals immutable in Windows
Adam D. Ruppe
destructionator at gmail.com
Fri Nov 30 01:29:40 UTC 2018
On Thursday, 29 November 2018 at 23:56:27 UTC, Andrew Pennebaker
wrote:
> I was surprised to read from the FreeBSD documentation that D
> string literals are actually writeable in Windows:
I don't think that is true anymore, but even if it is, you would
have to cast away the language-level immutable to get to it, so
it is undefined behavior anyway.
More information about the Digitalmars-d
mailing list