Associative arrays, opCmp, opEquals and toHash in 2.066.0-b4

Ary Borenszweig via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 21 10:06:12 PDT 2014


On 7/21/14, 11:39 AM, Daniel Gibson wrote:
> Am 21.07.2014 16:34, schrieb bearophile:
>> Ary Borenszweig:
>>
>>> Wat?
>>
>> Hash methods should be automatic for simple structs.
>>
>> Bye,
>> bearophile
>
> That would be too much magic => special cases one has to know about.
>
> Cheers,
> Daniel

Ah, good. I though it only worked for structs with two ints :-P


More information about the Digitalmars-d mailing list