On Monday, 20 March 2017 at 15:46:10 UTC, Adam D. Ruppe wrote:
On Monday, 20 March 2017 at 15:38:26 UTC, Kagamin wrote:This explicit slice won't work, because a slice of a fixed size array results in a fixed size array.No, it doesn't. int[4] a; typeof(a[] == int[]) You can try yourself in the compiler, it is easy to verify.
https://dpaste.dzfl.pl/eafa86c5426d