toHash => pure, nothrow, const, @safe

bearophile bearophileHUGS at lycos.com
Mon Mar 12 18:28:01 PDT 2012


Stewart Gordon:

> And what about toString?

Often in toString I use format() or text(), or to!string(), that currently aren't pure nor nothrow.

But in this thread I have seen no answers regarding deprecating the need of opCmp() for hashability.

Bye,
bearophile


More information about the Digitalmars-d mailing list