[Issue 5979] bigint equality comparison with rvalue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 11 10:44:25 PDT 2011


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


kennytm at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kennytm at gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from kennytm at gmail.com 2011-05-11 10:40:22 PDT ---
Unfortunately an opEquals for a struct must take the signature of (ref const S
s). See http://d-programming-language.org/operatoroverloading.html#equals. The
rvalue problem here is a specialization of bug 5609. Allowing struct to have
any signature is a duplicate of issue 3659.

*** This issue has been marked as a duplicate of issue 5609 ***

-- 
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