[Issue 4473] New: Migrating to D2 needs operator overloading

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 16 08:37:08 PDT 2010


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

           Summary: Migrating to D2 needs operator overloading
           Product: D
           Version: D2
          Platform: Other
               URL: http://digitalmars.com/d/2.0/D1toD2.html
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody at puremagic.com
        ReportedBy: Jesse.K.Phillips+D at gmail.com
                CC: Jesse.K.Phillips+D at gmail.com


--- Comment #0 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2010-07-16 08:37:07 PDT ---
With the change in how operator overloading works this is another area that
requires updating.

The compiler is good about instructing direction on this, but it should be
mentioned that opEquals now takes a const reference, and returns a reference
(is that actually required?). Then there is the removal of all opName functions
for opBinary and the like.

-- 
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