digitalmars.D.bugs - [Issue 16342] New: std.algorithm.fill can't fill a char[]?
- via Digitalmars-d-bugs (21/21) Jul 31 2016 https://issues.dlang.org/show_bug.cgi?id=16342
https://issues.dlang.org/show_bug.cgi?id=16342 Issue ID: 16342 Summary: std.algorithm.fill can't fill a char[]? Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: minor Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: dlang verge.info.tm void main() { char[] thing; import std.algorithm.mutation: fill; fill(thing,cast(char)'Q'); } // Error: template std.algorithm.mutation.fill cannot deduce function from argument types !()(char[], char) --
Jul 31 2016