[Issue 9770] New: Remove opCmp from Object

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 21 00:03:15 PDT 2013


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

           Summary: Remove opCmp from Object
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: jmdavisProg at gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-03-21 00:03:15 PDT ---
Per this thread http://forum.dlang.org/post/jtlj1k$1fdj$1@digitalmars.com , it
was decided to try and go the path of removing opEquals, opCmp, toHash, and
toString from Object, as they don't need to be there, and the fact that they're
there is causing issues with attributes such as const ( issue# 1824 ).

This issue is specifically for opCmp so that any work towards making it
unnecessary and removing it can be referenced here, whereas the other 3 have
separate bugzilla entries, as the work for them isn't necessarily related to
each other. opEquals, opCmp, and toHash in particular may require substantial
work to be done on the built-in AAs before they can actually be removed from
Object, as the AA implementation is not currently templated like it should be.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list