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.
https://github.com/D-Programming-Language/phobos/pull/900
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)