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

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 21 09:36:50 PDT 2014


On 2014-07-21 14:49, bearophile wrote:

> opEquals and opHash. But if your struct has only two ints as fields, it
> should work even if you don't define both methods.

If the struct already has opCmp I need to defined opEquals and toHash?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list