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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 21 22:54:09 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18634

--- Comment #2 from github-bugzilla at 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 <sebi.wilzbach at gmail.com>

--


More information about the Digitalmars-d-bugs mailing list