March 16, 2010
I think the 1.0 and 2.0 docs have gotten confused.  For example, from operatoroverloading.html (in the 1.057 download and website):

> If structs declare an opEquals member function, it should follow the following form:
>
> > struct S {
> >     int opEquals(ref const S s) { ... }
> > }

> The expression:
>
> > a op= b
>
> is rewritten as:
>
> > a.opOpAssign!("op")(b)
March 16, 2010
Hello Daniel,

> I think the 1.0 and 2.0 docs have gotten confused.  For example, from
> operatoroverloading.html (in the 1.057 download and website):

Must be a missing macro somewhere (IIRC they both come from the same source)

-- 
... <IXOYE><



Top | Discussion index | About this forum | D home