WAT: opCmp and opEquals woes

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 25 01:39:11 PDT 2014


On 7/25/2014 1:02 AM, Jacob Carlborg wrote:
> 3. If opCmp is defined but no opEquals, lhs == rhs will be lowered to
> lhs.opCmp(rhs) == 0

This is the sticking point. opCmp and opEquals are separate on purpose, see 
Andrei's posts.



More information about the Digitalmars-d mailing list