#include "tensorstore/index_space/dimension_identifier.h"
friend std::ostream&
tensorstore::DimRangeSpec::operator<<(std::ostreamos,
                                      
const DimRangeSpecspec);

Returns a Python-style inclusive_start:inclusive_stop or inclusive_start:exclusive_stop:step slice expression, where inclusive_start and exclusive_stop are omitted if equal to std::nullopt and step is omitted if equal to 1.