Why does sort not work on fixed arrays?

Brett Brett at gmail.com
Tue Sep 17 21:23:53 UTC 2019


T[N] t;
sort(t); fails

but

T[] t;
sort(t); passes


but magically

T[N] t;
sort(t[0..$]);  passes !!!



More information about the Digitalmars-d mailing list