DIP80: phobos additions
Dennis Ritchie via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 15 07:42:00 PDT 2015
On Monday, 15 June 2015 at 14:32:20 UTC, Ilya Yaroshenko wrote:
> I am note sure that we need something like `height`/row and
> `width`/col for nd-slices. This kind of names can be used after
> casting to the future `std.container.matrix`.
Here something similar implemented:
https://github.com/k3kaimu/carbon/blob/master/source/carbon/linear.d#L52-L56
Want in the future something like `rows' and `cols`:
https://github.com/k3kaimu/carbon/blob/master/source/carbon/linear.d#L156-L157
Waiting for `static foreach`. This design really helps a lot to
implement multidimensional slices.
More information about the Digitalmars-d
mailing list