bearophile:
> struct Vec(T=float, size_t N=3) {
> static assert(N > 0);
Sorry. Better to use:
> struct Vec(T=float, int N=3) {
> static assert(N > 0);
>From experience using D I have seen that using unsigned types is very unsafe
>in the current D language. In Delphi using unsigned types increases safety, in
>D actually decreases it. So in D it's better avoid unsigned type every time
>they aren't strictly necessary.
Bye,
bearophile
