Make string literals immutable in Windows
John Colvin
john.loughran.colvin at gmail.com
Sat Dec 1 16:31:39 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:
>
> https://dlang.org/dmd-freebsd.html
>
> Can we fix that? I think C literals were already immutable,
> though I'm not sure about the particulars of the Visual Studio
> C/C++ semantics.
Please provide an example of valid D program that does this.
Seriously though, it would be a nice thing to have.
More information about the Digitalmars-d
mailing list