digitalmars.D.bugs - [Issue 18161] New: std.algorithm.iteration.chunkBy should be usable
- d-bugmail puremagic.com (21/21) Jan 02 2018 https://issues.dlang.org/show_bug.cgi?id=18161
https://issues.dlang.org/show_bug.cgi?id=18161 Issue ID: 18161 Summary: std.algorithm.iteration.chunkBy should be usable in safe Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: greensunny12 gmail.com import std.algorithm; void test() safe { auto data = [[1, 1], [1, 2], [2, 2], [2, 3]]; auto r1 = data.chunkBy!((a, b) => a[0] == b[0]); } --
Jan 02 2018