dimensionality

Get Dimensionality of Type T.

template dimensionality (
T
) {}

Examples

static assert(dimensionality!(int[]) == 1);

See Also

Meta