http://d.puremagic.com/issues/show_bug.cgi?id=5666


kenn...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kenn...@gmail.com
         OS/Version|Windows                     |All


--- Comment #6 from kenn...@gmail.com 2011-05-04 07:12:14 PDT ---
std.array.join doesn't work with array of const/immutable string either :\

------------------------
import std.array;
void main() {
    const(char[])[] d;
    join(d, ",");
}
------------------------
x.d(5): Error: template std.array.join(RoR,R) if (isInputRange!(RoR) &&
isInputRange!(ElementType!(RoR)) && isForwardRange!(R)) does not match any
function template declaration
x.d(5): Error: template std.array.join(RoR,R) if (isInputRange!(RoR) &&
isInputRange!(ElementType!(RoR)) && isForwardRange!(R)) cannot deduce template
function from argument types !()(const(char[])[],string)
------------------------

It works if 'd' is a 'const(char)[][]'.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to