#include "tensorstore/index_space/index_domain.h"
span<const Index, Rank>
tensorstore::IndexDomain<Rank, CKind>::shape() const;

Returns the vector of length rank() specifying the extent of each dimension.

Pre:

valid()