rank

Returns the number of dimensions of type R.

Members

Variables

rank
enum size_t rank;
Undocumented in source.
rank
enum size_t rank;
Undocumented in source.

Examples

static assert(rank!(int[2]) == 1);
static assert(rank!(int[2][3]) == 2);

Meta