Zcoin implementation bug enabled attacker to create 548, 000 Zcoins

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 9 07:55:07 PST 2017


On Thursday, 9 March 2017 at 15:42:22 UTC, qznc wrote:
> I'm curious. Where does it make sense for opEquals to be 
> non-pure? Likewise opCmp, etc.
>

When the object need some kind of normalization to be comparable 
and you don't want to do the normalization every single time.



More information about the Digitalmars-d mailing list