Formal Review of std.range.ndslice

Nordlöw via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 17 02:16:55 PST 2015


On Tuesday, 17 November 2015 at 10:13:57 UTC, Nordlöw wrote:
> Why can't byElement
>
> http://dtest.thecybershadow.net/artifact/website-7a646fdea76569e009844cdee5c93edab10980ca-2b25fcf8789289fb52e50e2e71914d1a/web/phobos-prerelease/std_experimental_range_ndslice.html#.byElement
>
> provide RandomAccess? It's documented to return an InputRange.

AFAIK, if all the slice dimensions are know at compile-time it 
should. This is kind of similar to how std.range.chain() works.


More information about the Digitalmars-d mailing list