Why isn't == used to compare structs
Trass3r
un at known.com
Tue Feb 9 12:02:30 PST 2010
>> Structs are compared *bitwise*!
>
> Not in D2, any more. If a member has an opEquals, it's compared using ==.
Ok, what's the rationale?
More information about the Digitalmars-d-learn
mailing list