Thread overview
[Issue 8896] New: RedBlackTree.opEquals has byref semantics
Oct 26, 2012
Ellery Newcomer
October 26, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8896

           Summary: RedBlackTree.opEquals has byref semantics
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: ellery-newcomer@utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer@utulsa.edu> 2012-10-25 22:12:06 PDT ---
code:

import std.container;
import std.stdio;

void main() {
    auto a = make!(RedBlackTree!int)(1,2,3,4);
    auto b = make!(RedBlackTree!int)(1,2,3,4);
    writeln(a == b);
}


result:

false

should be:

true

prognosis:

RedBlackTree.opEquals has not been overridden from Object.opEquals

off topic:

Hi Steve, guess what I'm going to be doing with multi_index sometime this week.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8896


hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx


--- Comment #1 from hsteoh@quickfur.ath.cx 2012-10-26 22:21:17 PDT ---
https://github.com/D-Programming-Language/phobos/pull/900

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8896



--- Comment #2 from github-bugzilla@puremagic.com 2012-10-28 09:00:42 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/1b7e7eb506baef185f94298af7a534cb13e5bf66 Merge pull request #900 from quickfur/rbtree_opEquals

Implement RedBlackTree.opEquals ... (issue 8896)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8896


hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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