[Issue 17742] New: std.range.transposed does not have opIndex
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Aug 10 16:32:39 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17742
Issue ID: 17742
Summary: std.range.transposed does not have opIndex
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: dlang-bugzilla at thecybershadow.net
auto ror = 5.iota.map!(y => 5.iota.map!(x => x * y).array).array;
assert(ror[3][2] == 6); // OK
auto result = ror.transposed;
assert(result[3][2] == 6); // Error
--
More information about the Digitalmars-d-bugs
mailing list