toHash => pure, nothrow, const, @safe

Alex Rønne Petersen xtzgzorex at gmail.com
Mon Mar 12 18:35:57 PDT 2012


On 13-03-2012 02:28, bearophile wrote:
> 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

I fully support that.

-- 
- Alex


More information about the Digitalmars-d mailing list