ndslice: feature deprecation voting / discussion
Ilya Yaroshenko via Digitalmars-d
digitalmars-d at puremagic.com
Sun Oct 2 07:02:31 PDT 2016
Timothee Cour proposed to deprecate arguments without [ ... ]
that represent shape .
auto a0=iota(3*4).sliced(3,4); // proposal:deprecate
auto a1=iota(3*4).sliced([3,4]);
auto a2=iotaSlice(3,4); // proposal:deprecate
auto a3=iotaSlice([3,4]);
auto a6=slice!int(3,4);// proposal:deprecate
auto a4=slice!int([3,4]);
... the same for blocks, windows, ... etc.
Mir Issue: https://github.com/libmir/mir/issues/337
Current Yes: Timothee Cour, John Colvin
Current No : Ilya Yaroshenko, Relja Ljubobratovic
If you want to see the code please use Phobos code (not Mir).
Template bloat was significantly reduced in
https://github.com/dlang/phobos/pull/4823.
Ilya
More information about the Digitalmars-d
mailing list