DMD 1.026 and 2.010 releases

Pedr Ferreira tuga at dublin.ie
Mon Jan 21 16:38:16 PST 2008


Pedr Ferreira Wrote:

> Walter Bright Wrote:
> 
> > Extrawurst wrote:
> > > "
> > > opAssign can no longer be overloaded for class objects.
> > > "
> > > 
> > > why is that ? that change breaks lots of my code... ;(
> > 
> > I didn't realize anyone was using it. What are you using it for?
> 
> I was using it for my Matrix class to index specific positions on the matrix. This will make me have to refactor A LOT of my code. I won't be upgrading to DMD 2.10 (sticking with 2.9) until this change becomes permanent.

Oh, nvm, opAssign isn't that bad, only minor modifications are necessary. I misread ad "ofIndexAssign", sorry about that.

Anyway, the page http://www.digitalmars.com/d/operatoroverloading.html still has the opAssign.


More information about the Digitalmars-d-announce mailing list