[Issue 3789] comparing a struct with an array member does a bitwise compare

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 9 18:31:36 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3789


iorlas <denis.tomilin at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |denis.tomilin at gmail.com


--- Comment #3 from iorlas <denis.tomilin at gmail.com> 2010-02-09 18:31:35 PST ---
(In reply to comment #1)
> Arrays don't have a an opEquals overloaded operator. What's the bug?

Not a bug, only not implemented part of comparison.
Ofc it must be. Throws error or comparison each element through opEqual of
elements type.

Maybe now its not a critical, but in future it can block some code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list