digitalmars.D - The D 1.0 docs are stuffed.
- Daniel Keep <daniel.keep.lists gmail.com> Mar 16 2010
- BCS <none anon.com> Mar 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)
Mar 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><
Mar 16 2010








BCS <none anon.com>