digitalmars.D.bugs - [Issue 7690] New: std.string.join of const string array too
- d-bugmail puremagic.com (33/33) Mar 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7690
- d-bugmail puremagic.com (6/6) May 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7690
- d-bugmail puremagic.com (6/6) May 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7690
- d-bugmail puremagic.com (6/6) Sep 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7690
http://d.puremagic.com/issues/show_bug.cgi?id=7690 Summary: std.string.join of const string array too Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc Is this a regression? import std.string: join; void main() { const foos = ["foo", "bar"]; string s = join(foos); } DMD 2.059head gives: test.d(4): Error: template std.array.join(RoR,R) if (isInputRange!(RoR) && isInputRange!(ElementType!(RoR)) && isForwardRange!(R) && is(Unqual!(ElementType!(ElementType!(RoR))) == Unqual!(ElementType!(R)))) does not match any function template declaration test.d(4): Error: template std.array.join(RoR,R) if (isInputRange!(RoR) && isInputRange!(ElementType!(RoR)) && isForwardRange!(R) && is(Unqual!(ElementType!(ElementType!(RoR))) == Unqual!(ElementType!(R)))) cannot deduce template function from argument types !()(const(immutable(char)[][])) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 11 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7690 *** Issue 8468 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7690 *** Issue 7776 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7690 *** Issue 9207 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 21 2013