[Issue 5640] New: error with constructing RedBlackTree from range of array (typesafe variadics)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 22 01:32:04 PST 2011
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: nobody at puremagic.com
ReportedBy: lutger.blijdestijn at gmail.com
--- Comment #0 from Lutger <lutger.blijdestijn at 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: -------
More information about the Digitalmars-d-bugs
mailing list