[Issue 1989] New: opEquals should return bool

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 12 13:23:20 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1989

           Summary: opEquals should return bool
           Product: D
           Version: 1.028
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: larsivar at igesund.net


This has been requested many times on the NG (and I apologize if a bugzilla
entry exists, I could not find it), but has been brushed off with bogus and/or
outdated reasoning.

Instead the int return cause confusion and problems, for instance in template
code using bool returning predicates where opEquals won't work although doing
the semantically same thing.


-- 



More information about the Digitalmars-d-bugs mailing list