Bug 1120 – old doc need updates: func sig changed to use anchored type
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2007-04-10T17:54:00Z
Last change time
2015-06-09T05:14:58Z
Assigned to
bugzilla
Creator
someanon
Comments
Comment #0 by someanon — 2007-04-10T17:54:08Z
Great improvement by introducing anchored type! thanks Walter!
Please also update the doc, (I tried, it works)
old doc:
int opCmp(Object o);
should be changed to:
int opCmp(typeof(this) o);
By default opCmp(anchored typed) is called; if it doesn't exist, then opCmp(Object o) is called.
Same for opEquals.