digitalmars.D.bugs - [Issue 8468] New: std.array.join of a const array of strings too
- d-bugmail puremagic.com (29/29) Jul 29 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8468
- d-bugmail puremagic.com (11/11) May 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8468
http://d.puremagic.com/issues/show_bug.cgi?id=8468 Summary: std.array.join of a const array of strings 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 --- Comment #0 from bearophile_hugs eml.cc 2012-07-29 19:36:48 PDT --- import std.array: join; void main() { string[] data1 = ["abc", "def"]; string result1 = join(data1); // OK const string[] data2 = ["abc", "def"]; string result2 = join(data2); // Error } DMD 2.060beta gives: temp.d(6): Error: template std.array.join does not match any function template declaration ...\dmd2\src\phobos\std\array.d(1273): Error: template std.array.join 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: -------
Jul 29 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8468 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from bearophile_hugs eml.cc 2013-05-21 17:03:09 PDT --- *** This issue has been marked as a duplicate of issue 7690 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 21 2013