C++ mutable in D

Paul Backus snarwin at gmail.com
Tue Aug 3 14:01:20 UTC 2021


On Tuesday, 3 August 2021 at 13:02:38 UTC, Dukc wrote:
>
> Now, I definitely don't recommend using this. It might well end 
> up being considered as a bug, and thus stop working in the 
> future. Also the optimizer might not take this possibility into 
> account, thus injecting bugs to your code.

It's a known bug, since 2008:

https://issues.dlang.org/show_bug.cgi?id=1983


More information about the Digitalmars-d mailing list