toHash => pure, nothrow, const, @safe

bearophile bearophileHUGS at lycos.com
Mon Mar 12 19:58:18 PDT 2012


Walter:

> Good question. What do you suggest?

I suggest to follow a slow but reliable path, working bottom-up: turn to!string()/text()/format() into pure+nothrow functions, and then later require toString to be pure+nothrow and to have such annotations.

Bye,
bearophile


More information about the Digitalmars-d mailing list