Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Bug #6472. Make RedBlackTree's removeKey work with strings. #363

Merged
merged 2 commits into from
Feb 5, 2012

Conversation

jmdavis
Copy link
Member

@jmdavis jmdavis commented Dec 11, 2011

http://d.puremagic.com/issues/show_bug.cgi?id=6472

I also made RedBlackTree final, which it should have been in the first place. That might break code (if anyone decided to derive their own class from RedBlackTree - unlikely IMHO), but it was already decide previously that std.container's containers should be final classes so that they would be reference types and still be able to have their functions be non-virtual and inlinable.

@pszturmaj
Copy link

I think it would be better to have non final containers with final methods. It will make them inlineable and open to augmentation.

andralex added a commit that referenced this pull request Feb 5, 2012
Fix for Bug #6472. Make RedBlackTree's removeKey work with strings.
@andralex andralex merged commit da2cf56 into dlang:master Feb 5, 2012
marler8997 pushed a commit to marler8997/phobos that referenced this pull request Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants