www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4473] New: Migrating to D2 needs operator overloading


           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 puremagic.com
        ReportedBy: Jesse.K.Phillips+D gmail.com
                CC: Jesse.K.Phillips+D gmail.com

--- Comment #0 from Jesse Phillips <Jesse.K.Phillips+D 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: -------
Jul 16 2010