InternetAddress comparison fail
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 2 21:40:33 PST 2015
On 1/3/15 12:32 AM, Jon wrote:
> Still, shouldn't the == operator do a deep compare of the two
> InternetAddress objects in the absence of a defined opEquals method? I
> don't see why it should fail in the above example.
InternetAddress is a class. Default comparison for class is identity
(refer to the same object).
-Steve
More information about the Digitalmars-d
mailing list