digitalmars.D.bugs - [Issue 16263] New: Error: template
- via Digitalmars-d-bugs (23/23) Jul 10 2016 https://issues.dlang.org/show_bug.cgi?id=16263
https://issues.dlang.org/show_bug.cgi?id=16263 Issue ID: 16263 Summary: Error: template std.algorithm.iteration.permutations cannot deduce function from argument types !()(char[]) Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: dennis.m.ritchie mail.ru The function `permutations` support numbers, but does not support letters: //////////////////////////////////////////// import std.stdio; import std.algorithm; void main() { writeln(['a', 'b', 'c'].permutations); } //////////////////////////////////////////// --
Jul 10 2016