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