http://d.puremagic.com/issues/show_bug.cgi?id=8851
Summary: std.string.join should allow 'char' as joiner Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-18 15:26:25 PDT --- import std.string; void main() { char sep = '|'; string z = ["foo", "bar"].join(sep); } test.d(7): Error: template std.array.join does not match any function template declaration D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\array.d(1273): Error: template std.array.join cannot deduce template function from argument types !()(string[],char) Well apparently it's std.array.join, but nevertheless it should work. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------