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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Ellery Newcomer <[email protected]> 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: -------