http://d.puremagic.com/issues/show_bug.cgi?id=3902
Summary: Definition of opCmp Product: D Version: 2.041 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: nob...@puremagic.com ReportedBy: norb...@nemec-online.de --- Comment #0 from Norbert Nemec <norb...@nemec-online.de> 2010-03-08 14:42:44 PST --- Strangeness in the definition of opCmp: http://www.digitalmars.com/d/2.0/operatoroverloading.html#compare Mathematically the following are equivalent a < b <=> b > a But the definition seems to swap a < b into b >= a DMD seems to work correctly, though. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------