Store mutable indirections in immutable data with this one weird trick!

Timon Gehr timon.gehr at gmx.ch
Sat Nov 13 08:32:42 UTC 2021


On 13.11.21 09:30, tsbockman wrote:
>>
> 
> That's a compiler bug.

Nonsense. Results of strongly pure function calls implicitly convert to 
immutable. Your "fix" just avoided purity inference.


More information about the Digitalmars-d mailing list