D defined behavior

welkam wwwelkam at gmail.com
Mon Apr 27 16:10:12 UTC 2020


On Monday, 27 April 2020 at 15:14:06 UTC, Luís Marques wrote:
> On Monday, 27 April 2020 at 14:57:09 UTC, Johan wrote:
>> Yes, D has UB.
>
> Could you expand on that, please? Do you mean in the 
> implementation or per the spec? Outside @safe or also in @safe 
> code? Etc.

casting out immutable or const and then modifying the value would 
lead to incorrect code.


More information about the Digitalmars-d mailing list