Discussion Thread: DIP 1042--ProtoObject--Community Review Round 1

Timon Gehr timon.gehr at gmx.ch
Sat Jan 15 10:17:39 UTC 2022


On 15.01.22 10:34, Elronnd wrote:
> More practically, if somebody does write a compacting GC, it will be 
> child's play for them to go and add a 'hash' field to Object and change 
> the implementations of cmp and toHash.

Seems like that would make class object construction impure.


More information about the Digitalmars-d mailing list