[Issue 17742] std.range.transposed does not have opIndex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 30 15:57:42 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17742

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Ouch. I didn't realize transposed works with jagged arrays.

Considering this issue and that transposed doesn't work with static arrays
(because they're not ranges), maybe a separate function would be better, which
is closer to the matrix operation (in supporting indexing and static arrays).

--


More information about the Digitalmars-d-bugs mailing list