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: nob...@puremagic.com ReportedBy: ellery-newco...@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newco...@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: -------