[Issue 18634] std.container.rbtree does not work with delegate comparators

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18634

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/a3f8992766b1baf4d4dd2d57043a734db29c221b
Fix issue 18634 - support for delegate comparators in rbtree

RedBlackTree.opEquals() was preventing the use of delegates by
explicitly forcing the equal() check to go through a function.

https://github.com/dlang/phobos/commit/63397e57a95c33dd3f8207822cff34bbabbbcfd4
Merge pull request #6304 from chvor/rbtree-delegate

Fix issue 18634 - support for delegate comparators in rbtree
merged-on-behalf-of: Sebastian Wilzbach 

--


[Issue 18634] std.container.rbtree does not work with delegate comparators

2018-03-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18634

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 18634] std.container.rbtree does not work with delegate comparators

2018-03-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18634

Seb  changed:

   What|Removed |Added

 CC||greensunn...@gmail.com

--- Comment #1 from Seb  ---
PR https://github.com/dlang/phobos/pull/6304

(it's a good practice to mention/link the PR to avoid duplicate work)

--


[Issue 18634] std.container.rbtree does not work with delegate comparators

2018-03-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18634

viktor.iva...@gmail.com changed:

   What|Removed |Added

   Priority|P1  |P5
Summary|RBTree does not work with   |std.container.rbtree does
   |delegate comparators|not work with delegate
   ||comparators

--