http://d.puremagic.com/issues/show_bug.cgi?id=5640
Summary: error with constructing RedBlackTree from range of array (typesafe variadics) Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: lutger.blijdest...@gmail.com --- Comment #0 from Lutger <lutger.blijdest...@gmail.com> 2011-02-22 01:29:22 PST --- The following does not compile: auto tree = RedBlackTree!string("foo", "bar", "baz"); Error message: Error: template std.container.RedBlackTree!(string).RedBlackTree.__ctor(U) if (isImplicitlyConvertible!(U,Elem)) does not match any function template declaration Error: template std.container.RedBlackTree!(string).RedBlackTree.__ctor(U) if (isImplicitlyConvertible!(U,Elem)) cannot deduce template function from argument types !()(string,string,string) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------