#include "tensorstore/util/span.h" using tensorstore::span<T, Extent>::difference_type = ptrdiff_t; Type used for indexing.