[Issue 16342] New: std.algorithm.fill can't fill a char[]?

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 31 12:00:29 PDT 2016


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 at puremagic.com
          Reporter: dlang at 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)

--


More information about the Digitalmars-d-bugs mailing list