#include "tensorstore/index_space/index_vector_or_scalar.h"
constexpr const DimensionIndex
tensorstore::IsIndexVectorOrScalar<T>::extent = -1;

Compile-time length of the vector, or dynamic_rank if T represents a scalar or the length is specified at run time.

Only valid if value == true.