InternetAddress comparison fail

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 3 15:45:59 PST 2015


On Saturday, 3 January 2015 at 16:33:56 UTC, Jonathan Marler 
wrote:
> So what is the right way to compare the contents of 2 classes?  
> I thought it was to implement an opEquals method.  It pains me 
> to see people using the toAddrString function to compare 
> Address classes:(  This is so inefficient and unnecessary.

Sure, someone should make a pull and implement opEquals for the 
Address classes, maybe also opHash.


More information about the Digitalmars-d mailing list