Why is rehash not @safe?

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 30 08:32:34 PDT 2014


On Saturday, 30 August 2014 at 14:55:19 UTC, Orvid King wrote:
> Rehash itself would have to be marked @trusted rather than 
> @safe if anything.

I agree, that would be more in line with my understanding of when 
to use @trusted---when a function is safe but it can't be 
"proven" through the type-system.


More information about the Digitalmars-d-learn mailing list