Hello!Is there a convenient way to get rank of range a.k.a. count of dimensions in compile time? Like:
static assert( rankOf!(uint[]) == 1); static assert( rankOf!(uint[][][]) == 3);
Hello!Is there a convenient way to get rank of range a.k.a. count of dimensions in compile time? Like:
static assert( rankOf!(uint[]) == 1); static assert( rankOf!(uint[][][]) == 3);