Helping with __mutable (which will be renamed to __metadata)
Suleyman
sahmi.soulaimane at gmail.com
Mon Apr 15 17:24:36 UTC 2019
On Monday, 15 April 2019 at 15:59:35 UTC, Timon Gehr wrote:
> At that point, why do you need to slap `immutable` on your type
> in the first place? Why does your proposed semantics make any
> sense for reference counting or caching/lazy evaluation?
Otherwise the sole protection from being stored in readonly
memory is not enough incentive for adding a keyword feature if
this is the only contribution beyond an unsafe cast then a
compiler directive should suffice such as pragma(noROM) or
similar.
More information about the Digitalmars-d
mailing list