Want reasonable reference counting? Disable automatic sharing of immutable

Timon Gehr timon.gehr at gmx.ch
Fri Nov 12 13:03:54 UTC 2021


On 12.11.21 13:31, Steven Schveighoffer wrote:
> 
> I've come to the conclusion, in order to fix this situation, so 
> `__mutable` really means mutable and `shared` is an orthogonal piece, 
> you need to remove the implicit sharing of `immutable`.

I agree, that would be much better.


More information about the Digitalmars-d mailing list