www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8896] New: RedBlackTree.opEquals has byref semantics

reply d-bugmail puremagic.com writes:
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



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: -------
Oct 25 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8896


hsteoh quickfur.ath.cx changed:

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



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: -------
Oct 26 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8896




Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/1b7e7eb506baef185f94298af7a534cb13e5bf66


Implement RedBlackTree.opEquals ... (issue 8896)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 28 2012
prev sibling parent d-bugmail puremagic.com writes:
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: -------
Oct 28 2012