Can you simplify nested Indexed types?

Salih Dincer salihdb at hotmail.com
Tue Dec 27 15:20:24 UTC 2022


On Tuesday, 27 December 2022 at 15:09:11 UTC, Sergei Nosov wrote:
> Consider, I have the following code:
>
> ```d
>     auto a = [3, 6, 2, 1, 5, 4, 0];
>
>     auto indicies = iota(3);
>     auto ai = indexed(a, indicies);
>     //ai = indexed(ai, iota(2));
>
>     writeln(ai);
> ```

I confuse about comment line that I mark...

SDB at 79


More information about the Digitalmars-d-learn mailing list