InternetAddress comparison fail
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jan 3 16:10:12 PST 2015
On 01/03/2015 05:42 PM, Tobias Pankrath wrote:
> Could anyone clarify what the actual and intended behaviour is?
This [1] is the implementation and it calls opEquals. If that's not
overriden, the default [2] will use identity comparison.
[1]:
https://github.com/D-Programming-Language/druntime/blob/b3a8032e3960480a1588b3d1a4491808b4502d67/src/object_.d#L162
[2]:
https://github.com/D-Programming-Language/druntime/blob/b3a8032e3960480a1588b3d1a4491808b4502d67/src/object_.d#L109
More information about the Digitalmars-d
mailing list