On 3/12/2011 2:02 PM, Jonas Drewsen wrote:
Error message:

test2.d(13): Error: template std.algorithm.copy(Range1,Range2) if
(isInputRange!(Range1) && isOutputRange!(Range2,ElementType!(Range1)))
does not match any function template declaration

test2.d(13): Error: template std.algorithm.copy(Range1,Range2) if
(isInputRange!(Range1) && isOutputRange!(Range2,ElementType!(Range1)))
cannot deduce template function from argument types !()(char[],char[])

I haven't checked (could be completely off here), but I don't think that char[] counts as an input range; you would normally want to use dchar instead.

Reply via email to