[Issue 6472] New: RedBlackTree.removeKey
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 11 19:01:45 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6472
Summary: RedBlackTree.removeKey
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: ellery-newcomer at utulsa.edu
--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2011-08-11 19:01:44 PDT ---
dmd32 2.054
the code:
import std.container;
void main(){
auto t = make!(RedBlackTree!(string));
t.insert(["1","2","3"]);
t.removeKey("1");
}
the fireworks:
error9.d(10): Error: template
std.container.RedBlackTree!(string).RedBlackTree.removeKey(U) if
(isImplicitlyConvertible!(U,Elem)) does not match any function template
declaration
error9.d(10): Error: template
std.container.RedBlackTree!(string).RedBlackTree.removeKey(U) if
(isImplicitlyConvertible!(U,Elem)) cannot deduce template function from
argument types !()(string)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list