digitalmars.D.learn - transposed problem
- bearophile (12/12) Jul 04 2014 Is this another bug in std.range.transposed?
- bearophile (3/3) Jul 04 2014 https://issues.dlang.org/show_bug.cgi?id=13041
Is this another bug in std.range.transposed?
void main() {
import std.stdio, std.algorithm, std.range;
auto M = [[[1, 2]], [[3, 4]]];
M.filter!(r => r.dup.transposed.walkLength).writeln;
M.filter!(r => r.transposed.walkLength).writeln;
}
Output with the latest dmd:
[[[1, 2]], [[3, 4]]]
[[[]], [[]]]
Bye,
bearophile
Jul 04 2014
https://issues.dlang.org/show_bug.cgi?id=13041 Bye, bearophile
Jul 04 2014








"bearophile" <bearophileHUGS lycos.com>