-
#include "tensorstore/index_space/dimension_identifier.h" -
constexpr DimensionIndex
tensorstore::DimensionIdentifier::index() const; Returns the specified dimension index, or
std::numeric_limits<DimensionIndex>::max()if a dimension label was specified.