March 16, 2010 The D 1.0 docs are stuffed. | ||||
---|---|---|---|---|
| ||||
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 Re: The D 1.0 docs are stuffed. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Keep | 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>< |
Copyright © 1999-2021 by the D Language Foundation